Skip to content

Commit 25038cf

Browse files
authored
Merge pull request #38 from shaka9487/0.2.1
0.2.1:add contributor
2 parents 01f1ab0 + 1a22851 commit 25038cf

File tree

261 files changed

+9177
-27359
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

261 files changed

+9177
-27359
lines changed

.Rbuildignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
^\.Rcheck$
1010
^.*\.utf8\.R$
1111
^README\.Rmd$
12-
^.*\.Rproj$
12+
^.*\.DS_Store$
13+
^.DS_Store$
1314
^\.Rproj\.user$
1415
^README\.Rmd$
1516
^cran-comments\.md$
16-
^\.github$

.Rhistory

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,3 @@
1-
limit = 5
2-
)
3-
# Check empty structure
4-
expect_equal(nrow(result$bills), 0)
5-
expect_equal(result$metadata$total, 0)
6-
})
7-
bills <- get_ly_legislator_bills(
8-
term = 9,
9-
name = "王金平",
10-
limit = 5
11-
)
12-
if(nrow(bills$bills) > 0) {
13-
# Check content validity
14-
expect_true(all(!is.na(bills$bills$billNo)))
15-
expect_true(all(!is.na(bills$bills$議案名稱)))
16-
expect_true(all(!is.na(bills$bills$屆期)))
17-
expect_true(all(bills$bills$屆期 == 9)) # Should match requested term
18-
}
19-
# Test error handling
201
test_that("get_ly_legislator_bills handles errors properly", {
212
# Test non-existent term/name combination
223
expect_error(
@@ -510,3 +491,22 @@ build_site()
510491
roxygen2::roxygenise()
511492
build_site()
512493
deploy_to_branch()
494+
library(pkgdown)
495+
build_site()
496+
build_site()
497+
build_site()
498+
roxygen2::roxygenize()
499+
roxygen2::roxygenize()
500+
build_site()
501+
roxygen2::roxygenise()
502+
pkgload::dev_help('.onAttach')
503+
pkgload::dev_help('calculate_bill_trends')
504+
pkgload::dev_help('calculate_bill_trends')
505+
roxygen2::roxygenise()
506+
roxygen2::roxygenise()
507+
roxygen2::roxygenise()
508+
roxygen2::roxygenise()
509+
build_site()
510+
build_site()
511+
build_site()
512+
deploy_to_branch()
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"sortOrder": [
33
{
4-
"columnIndex": 2,
4+
"columnIndex": 4,
55
"ascending": true
66
},
77
{
8-
"columnIndex": 4,
9-
"ascending": false
8+
"columnIndex": 2,
9+
"ascending": true
1010
}
1111
],
12-
"path": "~/Dropbox/My Packages/legisTaiwan"
12+
"path": "~/Dropbox/My Packages/legisTaiwan/tests/testthat"
1313
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"activeTab": 0
2+
"activeTab": 6
33
}

.Rproj.user/763C8F27/pcs/windowlayoutstate.pper

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"windowheight": 945
77
},
88
"right": {
9-
"splitterpos": 75,
9+
"splitterpos": 467,
1010
"topwindowstate": "NORMAL",
1111
"panelheight": 931,
1212
"windowheight": 945
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"TabSet1": 2,
3-
"TabSet2": 2,
2+
"TabSet1": 6,
3+
"TabSet2": 1,
44
"TabZoom": {}
55
}

.Rproj.user/763C8F27/persistent-state

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
build-last-errors="[]"
22
build-last-errors-base-dir="~/Dropbox/My Packages/legisTaiwan/"
3-
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\":\"\"}]"
3+
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\":\"\"}]"
44
compile_pdf_state="{\"tab_visible\":false,\"running\":false,\"target_file\":\"\",\"output\":\"\",\"errors\":[]}"
55
files.monitored-path=""
66
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\":\"\"}"

.Rproj.user/763C8F27/rmd-outputs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/private/var/folders/60/xlhp81vn4_79cp2dbjgy07tm0000gn/T/RtmpnIcpqT/preview-b0a385c2b7c.html
2-
/private/var/folders/60/xlhp81vn4_79cp2dbjgy07tm0000gn/T/RtmpnIcpqT/preview-184ca1df407aa.dir/quickstart.html
2+
/private/var/folders/60/xlhp81vn4_79cp2dbjgy07tm0000gn/T/Rtmpfs6ED9/preview-47ce20db576c.html
33
/private/var/folders/60/xlhp81vn4_79cp2dbjgy07tm0000gn/T/RtmpnIcpqT/preview-184ca2a28b82f.dir/quickstart.html
44
/private/var/folders/60/xlhp81vn4_79cp2dbjgy07tm0000gn/T/RtmpnIcpqT/preview-184ca1b7bd20.dir/quickstart.html
55
/private/var/folders/60/xlhp81vn4_79cp2dbjgy07tm0000gn/T/RtmpnIcpqT/preview-3a97368633ab.html

.Rproj.user/763C8F27/sources/per/t/E6CE64AC-contents

Lines changed: 0 additions & 250 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"source_window_id": "",
33
"Source": "Source",
4-
"cursorPosition": "9,0",
4+
"cursorPosition": "10,0",
55
"scrollLine": "0"
66
}

0 commit comments

Comments
 (0)