Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.2.1:add contributor #38

Merged
merged 25 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
5b158c6
UPDATE 0.1.7
davidycliao Dec 28, 2024
bfe38f8
Delete .DS_Store
davidycliao Dec 28, 2024
4d6e6bc
chore: release version 0.2.1
davidycliao Jan 3, 2025
cc56366
feat: update package to version 0.2.1
davidycliao Jan 3, 2025
534c18b
fix: improve version display alignment in startup message
davidycliao Jan 3, 2025
a309de3
docs: enhance committee ID documentation with bilingual names
davidycliao Jan 3, 2025
a3836e1
feat: add new functions
davidycliao Jan 4, 2025
4ca1262
docs: add documentation for legislator detail function
davidycliao Jan 4, 2025
2638362
doc: new version 20.2.1
davidycliao Jan 4, 2025
0e8f778
docs: update legislator bills API documentation
davidycliao Jan 4, 2025
4c42fcb
docs: update legislator bills API documentation
davidycliao Jan 4, 2025
4b79f65
doc
davidycliao Jan 4, 2025
dba6ed1
doc
davidycliao Jan 4, 2025
f854436
refactor: update get_ly_committees function and add tests - Add test…
davidycliao Jan 4, 2025
966d258
refactor: update get_ly_interpellations function and add tests
davidycliao Jan 5, 2025
a9ae1f2
chore: update RStudio project configuration
davidycliao Jan 5, 2025
2c19416
git add .Rproj.user/shared/notebooks/paths
davidycliao Jan 5, 2025
95e531e
Merge branch 'master' into 0.2.1
davidycliao Jan 5, 2025
f9f40e8
docs: update package documentation and website files
davidycliao Jan 5, 2025
6ad48ba
docs: update roxygen documentation and pkgdown site files
davidycliao Jan 5, 2025
427d08e
docs: update roxygen documentation and pkgdown site files
davidycliao Jan 5, 2025
d723a24
docs: update roxygen documentation and pkgdown site files
davidycliao Jan 5, 2025
92299d7
doc
davidycliao Jan 5, 2025
fc46a0d
doc: add contributor
shaka9487 Jan 5, 2025
1a22851
Update DESCRIPTION
davidycliao Jan 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading