Skip to content

Commit

Permalink
Merge pull request #38 from shaka9487/0.2.1
Browse files Browse the repository at this point in the history
0.2.1:add contributor
  • Loading branch information
davidycliao authored Jan 6, 2025
2 parents 01f1ab0 + 1a22851 commit 25038cf
Show file tree
Hide file tree
Showing 261 changed files with 9,177 additions and 27,359 deletions.
4 changes: 2 additions & 2 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
^\.Rcheck$
^.*\.utf8\.R$
^README\.Rmd$
^.*\.Rproj$
^.*\.DS_Store$
^.DS_Store$
^\.Rproj\.user$
^README\.Rmd$
^cran-comments\.md$
^\.github$
38 changes: 19 additions & 19 deletions .Rhistory
Original file line number Diff line number Diff line change
@@ -1,22 +1,3 @@
limit = 5
)
# Check empty structure
expect_equal(nrow(result$bills), 0)
expect_equal(result$metadata$total, 0)
})
bills <- get_ly_legislator_bills(
term = 9,
name = "王金平",
limit = 5
)
if(nrow(bills$bills) > 0) {
# Check content validity
expect_true(all(!is.na(bills$bills$billNo)))
expect_true(all(!is.na(bills$bills$議案名稱)))
expect_true(all(!is.na(bills$bills$屆期)))
expect_true(all(bills$bills$屆期 == 9)) # Should match requested term
}
# Test error handling
test_that("get_ly_legislator_bills handles errors properly", {
# Test non-existent term/name combination
expect_error(
Expand Down Expand Up @@ -510,3 +491,22 @@ build_site()
roxygen2::roxygenise()
build_site()
deploy_to_branch()
library(pkgdown)
build_site()
build_site()
build_site()
roxygen2::roxygenize()
roxygen2::roxygenize()
build_site()
roxygen2::roxygenise()
pkgload::dev_help('.onAttach')
pkgload::dev_help('calculate_bill_trends')
pkgload::dev_help('calculate_bill_trends')
roxygen2::roxygenise()
roxygen2::roxygenise()
roxygen2::roxygenise()
roxygen2::roxygenise()
build_site()
build_site()
build_site()
deploy_to_branch()
8 changes: 4 additions & 4 deletions .Rproj.user/763C8F27/pcs/files-pane.pper
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"sortOrder": [
{
"columnIndex": 2,
"columnIndex": 4,
"ascending": true
},
{
"columnIndex": 4,
"ascending": false
"columnIndex": 2,
"ascending": true
}
],
"path": "~/Dropbox/My Packages/legisTaiwan"
"path": "~/Dropbox/My Packages/legisTaiwan/tests/testthat"
}
2 changes: 1 addition & 1 deletion .Rproj.user/763C8F27/pcs/source-pane.pper
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"activeTab": 0
"activeTab": 6
}
2 changes: 1 addition & 1 deletion .Rproj.user/763C8F27/pcs/windowlayoutstate.pper
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"windowheight": 945
},
"right": {
"splitterpos": 75,
"splitterpos": 467,
"topwindowstate": "NORMAL",
"panelheight": 931,
"windowheight": 945
Expand Down
4 changes: 2 additions & 2 deletions .Rproj.user/763C8F27/pcs/workbench-pane.pper
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"TabSet1": 2,
"TabSet2": 2,
"TabSet1": 6,
"TabSet2": 1,
"TabZoom": {}
}
2 changes: 1 addition & 1 deletion .Rproj.user/763C8F27/persistent-state
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
build-last-errors="[]"
build-last-errors-base-dir="~/Dropbox/My Packages/legisTaiwan/"
build-last-outputs="[{\"type\":0,\"output\":\"==> R CMD INSTALL --preclean --no-multiarch --with-keep.source legisTaiwan\\n\\n\"},{\"type\":1,\"output\":\"* installing to library ‘/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library’\\n\"},{\"type\":1,\"output\":\"* installing *source* package ‘legisTaiwan’ ...\\n\"},{\"type\":1,\"output\":\"** using staged installation\\n\"},{\"type\":1,\"output\":\"** R\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** data\\n\"},{\"type\":1,\"output\":\"*** moving datasets to lazyload DB\\n\"},{\"type\":1,\"output\":\"** inst\\n\"},{\"type\":1,\"output\":\"** byte-compile and prepare package for lazy loading\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** help\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"*** installing help indices\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"*** copying figures\\n\"},{\"type\":1,\"output\":\"** building package indices\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** installing vignettes\\n\"},{\"type\":1,\"output\":\"** testing if installed package can be loaded from temporary location\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** testing if installed package can be loaded from final location\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** testing if installed package keeps a record of temporary installation path\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"* DONE (legisTaiwan)\\n\"},{\"type\":1,\"output\":\"\"}]"
build-last-outputs="[{\"type\":0,\"output\":\"==> R CMD INSTALL --preclean --no-multiarch --with-keep.source legisTaiwan\\n\\n\"},{\"type\":1,\"output\":\"* installing to library ‘/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library’\\n\"},{\"type\":1,\"output\":\"* installing *source* package ‘legisTaiwan’ ...\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** using staged installation\\n\"},{\"type\":1,\"output\":\"** R\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** data\\n\"},{\"type\":1,\"output\":\"*** moving datasets to lazyload DB\\n\"},{\"type\":1,\"output\":\"** inst\\n\"},{\"type\":1,\"output\":\"** byte-compile and prepare package for lazy loading\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** help\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"*** installing help indices\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"*** copying figures\\n\"},{\"type\":1,\"output\":\"** building package indices\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** installing vignettes\\n\"},{\"type\":1,\"output\":\"** testing if installed package can be loaded from temporary location\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** testing if installed package can be loaded from final location\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** testing if installed package keeps a record of temporary installation path\\n\"},{\"type\":1,\"output\":\"* DONE (legisTaiwan)\\n\"},{\"type\":1,\"output\":\"\"}]"
compile_pdf_state="{\"tab_visible\":false,\"running\":false,\"target_file\":\"\",\"output\":\"\",\"errors\":[]}"
files.monitored-path=""
find-in-files-state="{\"handle\":\"\",\"input\":\"\",\"path\":\"\",\"regex\":false,\"ignoreCase\":false,\"results\":{\"file\":[],\"line\":[],\"lineValue\":[],\"matchOn\":[],\"matchOff\":[],\"replaceMatchOn\":[],\"replaceMatchOff\":[]},\"running\":false,\"replace\":false,\"preview\":false,\"gitFlag\":false,\"replacePattern\":\"\"}"
Expand Down
2 changes: 1 addition & 1 deletion .Rproj.user/763C8F27/rmd-outputs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/private/var/folders/60/xlhp81vn4_79cp2dbjgy07tm0000gn/T/RtmpnIcpqT/preview-b0a385c2b7c.html
/private/var/folders/60/xlhp81vn4_79cp2dbjgy07tm0000gn/T/RtmpnIcpqT/preview-184ca1df407aa.dir/quickstart.html
/private/var/folders/60/xlhp81vn4_79cp2dbjgy07tm0000gn/T/Rtmpfs6ED9/preview-47ce20db576c.html
/private/var/folders/60/xlhp81vn4_79cp2dbjgy07tm0000gn/T/RtmpnIcpqT/preview-184ca2a28b82f.dir/quickstart.html
/private/var/folders/60/xlhp81vn4_79cp2dbjgy07tm0000gn/T/RtmpnIcpqT/preview-184ca1b7bd20.dir/quickstart.html
/private/var/folders/60/xlhp81vn4_79cp2dbjgy07tm0000gn/T/RtmpnIcpqT/preview-3a97368633ab.html
Expand Down
250 changes: 0 additions & 250 deletions .Rproj.user/763C8F27/sources/per/t/E6CE64AC-contents

This file was deleted.

2 changes: 1 addition & 1 deletion .Rproj.user/763C8F27/sources/prop/023A30B2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"source_window_id": "",
"Source": "Source",
"cursorPosition": "9,0",
"cursorPosition": "10,0",
"scrollLine": "0"
}
4 changes: 2 additions & 2 deletions .Rproj.user/763C8F27/sources/prop/0B60041F
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"source_window_id": "",
"Source": "Source",
"cursorPosition": "39,0",
"scrollLine": "32"
"cursorPosition": "80,0",
"scrollLine": "75"
}
4 changes: 2 additions & 2 deletions .Rproj.user/763C8F27/sources/prop/15233BD7
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"source_window_id": "",
"Source": "Source",
"cursorPosition": "26,0",
"scrollLine": "41"
"cursorPosition": "67,10",
"scrollLine": "0"
}
Loading

0 comments on commit 25038cf

Please sign in to comment.