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

v1.1.1 release #265

Merged
merged 237 commits into from
Mar 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
237 commits
Select commit Hold shift + click to select a range
9d9ee70
use delphi/CMU red, match `epipredict`
dajmcdon Sep 12, 2023
b28e56c
Make the readme an Rmd
dajmcdon Sep 12, 2023
e74682a
run styler, then rebuild README
dajmcdon Sep 12, 2023
9688954
Update README.md
dshemetov Sep 12, 2023
8f61786
Merge remote-tracking branch 'origin/ar/release-fixes' into djm/pkgdo…
dshemetov Sep 12, 2023
8448da4
Merge pull request #174 from cmu-delphi/djm/pkgdown-updates
dshemetov Sep 12, 2023
18de016
Merge pull request #173 from cmu-delphi/ar/release-fixes
dshemetov Sep 15, 2023
016d2a7
Rename get_auth_key, add set_api_key, document
capnrefsmmat Sep 15, 2023
9e971e4
Update README explanation of how to get keys
capnrefsmmat Sep 15, 2023
94024b1
docs: document (GHA)
capnrefsmmat Sep 15, 2023
6db8789
Merge pull request #176 from cmu-delphi/docs/options
dshemetov Sep 15, 2023
f7976e4
ci: remove release helper
dshemetov Sep 15, 2023
a4a6da0
fix+chore: version bump, fix #177
dsweber2 Sep 16, 2023
afd94ad
docs: document (GHA)
dsweber2 Sep 16, 2023
d422f56
Merge pull request #178 from cmu-delphi/ds/ci
dshemetov Sep 16, 2023
d1d0939
Merge pull request #179 from cmu-delphi/fixAPIKey
dshemetov Sep 19, 2023
fe34d29
docs: readme link to package and CRAN
dsweber2 Sep 21, 2023
265fbe3
docs: render readme changes
dsweber2 Sep 21, 2023
d3d9676
fix: doubled code block tags in README
dshemetov Sep 22, 2023
c623513
Merge pull request #184 from cmu-delphi/dsweber2-post-cran
dshemetov Sep 22, 2023
924b9e7
fix: cache size integer overflow
dshemetov Sep 29, 2023
a7d9007
docs: document (GHA)
dshemetov Sep 29, 2023
2b48321
Merge pull request #189 from cmu-delphi/ds/cache-size
dsweber2 Sep 29, 2023
f2c1dcb
lint: update lintr
dshemetov Sep 30, 2023
19ac3bf
style: use glue for line-wrapping in cache warnings
dshemetov Sep 30, 2023
c839ee0
fix: bring back warning metadata
dshemetov Sep 30, 2023
a1519eb
Merge pull request #190 from cmu-delphi/ds/lint
dsweber2 Oct 2, 2023
c3daeb5
Merge pull request #191 from cmu-delphi/ds/format-cache-messages
dsweber2 Oct 2, 2023
9aad3d4
fix: actual license details
dsweber2 Oct 6, 2023
c041a90
Merge pull request #195 from cmu-delphi/license
dsweber2 Oct 9, 2023
3fb3380
fix: order of args in `clear_cache` positional bugs
dsweber2 Oct 13, 2023
d77505c
docs: document (GHA)
dsweber2 Oct 13, 2023
ee952c5
Merge pull request #197 from cmu-delphi/clear_cache_positional_args
dsweber2 Oct 13, 2023
fb395a2
Improve avail_endpoints() documentation
capnrefsmmat Nov 4, 2023
380d971
Improve epirange and timeset documentation
capnrefsmmat Nov 4, 2023
06f8359
Fix endpoint documentation capitalization
capnrefsmmat Nov 4, 2023
6d1bd31
Improve and correct fetch_args_list() documentation
capnrefsmmat Nov 4, 2023
4aee8f5
add jeremy and nat as codeowners
nmdefries Nov 8, 2023
4c7f353
Use standard match.arg() for argument with 3 options
capnrefsmmat Nov 8, 2023
cb6a55e
Don't repeat default arguments in the @param documentation
capnrefsmmat Nov 8, 2023
1750e35
Add back an explicit @description
capnrefsmmat Nov 8, 2023
2bc580b
docs: document (GHA)
capnrefsmmat Nov 8, 2023
26e3303
Fix assertion on format_type, subsumed by match.arg()
capnrefsmmat Nov 8, 2023
1805a06
docs: document (GHA)
capnrefsmmat Nov 8, 2023
192f02a
Merge pull request #207 from cmu-delphi/ar/docs
dshemetov Nov 8, 2023
a05a196
Update .github/CODEOWNERS
dshemetov Nov 8, 2023
9af508b
Merge pull request #211 from cmu-delphi/ndefries/me-jeremy-reviewers
dshemetov Nov 8, 2023
11b77fd
redocument
nmdefries Nov 10, 2023
7e26421
fetch description typo
nmdefries Nov 10, 2023
910702f
docs: document (GHA)
nmdefries Nov 10, 2023
6afbb25
make geo_values plural in arg error message
nmdefries Nov 10, 2023
6a2cc52
update reference to old covidcast() fn
nmdefries Nov 10, 2023
8346bc9
deploy docs website on push/pull to dev
nmdefries Nov 10, 2023
83e986b
Merge pull request #213 from cmu-delphi/ndefries/deploy-website-on-dev
dshemetov Nov 10, 2023
ab97ca4
make new signal discover fn ref section
nmdefries Nov 10, 2023
cbb69e7
build doc website on push to both dev and main
nmdefries Nov 13, 2023
5799fe6
dev version needs a 4-part version number to trigger dev doc site
nmdefries Nov 13, 2023
5db0821
build separate public and dev doc sites
nmdefries Nov 13, 2023
39927e7
add info about public and local doc site
nmdefries Nov 14, 2023
bc4e22f
remove unused url refs from dev.md
nmdefries Nov 14, 2023
2faf053
move doc version info to doc development section
nmdefries Nov 14, 2023
233824f
check dots empty in endpoints
nmdefries Nov 14, 2023
6820111
move endpoints and data discovery higher in fn ref list
nmdefries Nov 14, 2023
a1ab6fb
Merge pull request #214 from cmu-delphi/ndefries/documentation1
nmdefries Nov 14, 2023
b07e3e3
test that empty dots check errors for endpoints
nmdefries Nov 14, 2023
4235c9d
Merge pull request #215 from cmu-delphi/ndefries/support-public-and-d…
nmdefries Nov 14, 2023
b4b709e
Merge pull request #216 from cmu-delphi/ndefries/check-dots-empty
nmdefries Nov 15, 2023
31343e3
refactor+docs: set_api_key
dshemetov Nov 16, 2023
127de77
test: fix auth test
dshemetov Nov 16, 2023
0ef3cfe
refactor(auth): rename to save_api_key
dshemetov Nov 16, 2023
d45bf6f
docs: document (GHA)
dshemetov Nov 16, 2023
3018188
Update R/auth.R
dshemetov Nov 17, 2023
08f391a
docs: rename to save_api_key
dshemetov Nov 17, 2023
3ee71a5
docs: add suggestion to .gitignore .Renviron
dshemetov Nov 17, 2023
be0b32d
fluview_meta missing a fetch
nmdefries Nov 17, 2023
31a1418
add detail to endpoint short descriptions
nmdefries Nov 18, 2023
3f7897e
inform about regional coverage
nmdefries Nov 18, 2023
63e2a72
Update R/auth.R
dshemetov Nov 18, 2023
7a18d4a
Update R/auth.R
dshemetov Nov 18, 2023
b33a5f5
Update R/auth.R
dshemetov Nov 18, 2023
6fabeca
docs: document (GHA)
dshemetov Nov 18, 2023
9a7e505
Merge pull request #217 from cmu-delphi/ds/api-keys
dshemetov Nov 18, 2023
73ea679
Merge pull request #218 from cmu-delphi/ndefries/avail-endpoint-descr…
nmdefries Nov 18, 2023
dc3e6ec
add as_of arg to hosp state timeseries
nmdefries Nov 17, 2023
1b93226
test versioned queries
nmdefries Nov 27, 2023
a7091c2
style: styler (GHA)
nmdefries Nov 27, 2023
ae3d1b2
Merge branch 'dev' into ndefries/hosp-state-take_as_of
nmdefries Nov 27, 2023
97beab3
linting
nmdefries Nov 27, 2023
0ce9694
style: styler (GHA)
nmdefries Nov 27, 2023
737e2cb
remove duplicate spec for issue field in hosp state timeseries
nmdefries Nov 27, 2023
a43ea6f
error if epidata meta has duplicates
nmdefries Nov 27, 2023
83d7813
don't try to convert date fields to date again; warn if meta and retu…
nmdefries Nov 27, 2023
8f21658
remove mention of `lag` in doc
nmdefries Nov 28, 2023
a4ca176
docs: document (GHA)
nmdefries Nov 28, 2023
c97093c
Merge pull request #219 from cmu-delphi/ndefries/hosp-state-take_as_of
nmdefries Nov 28, 2023
2d4f1d4
check diff of expected and actual field names, since user can request…
nmdefries Nov 28, 2023
0f6b003
provide error and warning class names
nmdefries Nov 28, 2023
c093c11
test create_epidata_call success and failures
nmdefries Nov 28, 2023
a716b27
test parse_data_frame
nmdefries Nov 28, 2023
073ac5b
linting
nmdefries Nov 28, 2023
4228e79
list unspecified fields in warning message
nmdefries Nov 28, 2023
30655c7
fill in ? for public endpoints
nmdefries Nov 28, 2023
89556fd
add missing field info entries
nmdefries Nov 28, 2023
2fce66d
parse `release_date`s as date
nmdefries Nov 29, 2023
fa038fa
allow dash-separate dates to be parsed
nmdefries Nov 29, 2023
5e7a0f6
test missing date parsing behavior
nmdefries Nov 29, 2023
d534e3e
linting
nmdefries Nov 29, 2023
38a5c1b
fill in ? for private endpoints
nmdefries Nov 29, 2023
8e4fb6c
verify that field specs are all EpidataFieldInfo objs
nmdefries Nov 29, 2023
ff87a71
use identical to compare as_of and issues to `*`
nmdefries Nov 29, 2023
0fa2491
test date/str handling
nmdefries Nov 29, 2023
78c381f
Merge pull request #220 from cmu-delphi/ndefries/parse-date-cols
nmdefries Nov 30, 2023
77048b3
check when issues is an epirange
nmdefries Nov 30, 2023
fb02033
style: styler (GHA)
nmdefries Nov 30, 2023
22d064a
Merge pull request #223 from cmu-delphi/ndefries/add-missing-epidata-…
nmdefries Nov 30, 2023
abd8f4d
lastest_issue is an epiweek, not a date
nmdefries Nov 30, 2023
1a5e8b5
Merge pull request #225 from cmu-delphi/ndefries/parse-fluview-meta-date
nmdefries Nov 30, 2023
3aabdd3
Merge pull request #224 from cmu-delphi/ndefries/compare-vers-to-aste…
nmdefries Nov 30, 2023
33c8366
describe recent bug fix changes. change some formatting
nmdefries Dec 7, 2023
e43fec6
add cache, api key, and line-wrapping updates
nmdefries Dec 7, 2023
6f4dff5
periods
nmdefries Dec 7, 2023
6938fcd
combine changelog 1.1.0 and 1.1.0.9000, and change version to 1.0.0.9000
nmdefries Dec 7, 2023
8cc7d5b
add .9000 everywhere
nmdefries Dec 7, 2023
4ea1453
api key changes deduped
nmdefries Dec 8, 2023
e6bcee6
remove usage from landing page; add licensing info and more description
nmdefries Dec 8, 2023
637f6f4
move mailing list ad down
nmdefries Dec 8, 2023
3ba3836
move install, api keys to intro vignette; add more examples, take out…
nmdefries Dec 8, 2023
6a8a224
signal discovery blurb and vignette stub
nmdefries Dec 8, 2023
a8b81bb
versioned data blurb and vignette stub
nmdefries Dec 8, 2023
f857d67
add geo info and format avail_endpoint
nmdefries Dec 8, 2023
cf2ed73
list international endpoints
nmdefries Dec 8, 2023
86502a3
rename and reflow text
nmdefries Dec 8, 2023
ade3ea2
flesh out signal discovery vignette
nmdefries Dec 8, 2023
06adbcd
clean up versioned data wording
nmdefries Dec 8, 2023
3872109
pretty print tibbles in signal discovery vignette
nmdefries Dec 8, 2023
06aed90
metadata blurb for signal discovery
nmdefries Dec 8, 2023
12a6e63
silence us-only message
nmdefries Dec 8, 2023
cab8cae
versioned data header
nmdefries Dec 8, 2023
21e3670
Merge pull request #228 from cmu-delphi/ndefries/doc-changelog
nmdefries Dec 8, 2023
b6b0a6f
choropleth link and example
nmdefries Dec 11, 2023
53d8201
add content to versioned data vignette
nmdefries Dec 11, 2023
7b6b9bd
style: styler (GHA)
nmdefries Dec 11, 2023
433b748
suggest `maps` for vignettes
nmdefries Dec 11, 2023
04c57b7
add example showing use of list of dates with `issues`
nmdefries Dec 11, 2023
028ff8c
Merge pull request #230 from cmu-delphi/ndefries/web-intro-pages
nmdefries Dec 11, 2023
b1917e9
fix endpt refs missing pub_, pvt_ prefixes
nmdefries Dec 12, 2023
117bb84
docs: document (GHA)
nmdefries Dec 12, 2023
439d18f
missing period
nmdefries Dec 12, 2023
c7e95f6
docs: document (GHA)
nmdefries Dec 12, 2023
6e9f899
Merge pull request #231 from cmu-delphi/ndefries/straggling-endpt-refs
nmdefries Dec 12, 2023
4c5d4d6
print method for epirange
nmdefries Jan 4, 2024
1ec140e
print simple list classes
nmdefries Jan 4, 2024
42bda42
document
nmdefries Jan 4, 2024
093fac0
linting; var used in glue syntax not recognized
nmdefries Jan 4, 2024
3255ac4
don't check class in class-specific prints
nmdefries Jan 4, 2024
c2dd04b
avoid date conversion for epiweek epiranges
nmdefries Jan 4, 2024
1b2f1bb
use cli_dl to avoid mixing cli and `print` in class-print fns
nmdefries Jan 4, 2024
c55c9dc
fold private endpoint examples
nmdefries Jan 5, 2024
ff68c45
Merge pull request #232 from cmu-delphi/ndefries/class-print
nmdefries Jan 8, 2024
eb685cf
endpoints fetch all dates by default; wildcard to date fn
nmdefries Jan 5, 2024
3aee83b
pub_covid_hosp_facility supports epiweeks and days
nmdefries Jan 5, 2024
6a85f42
warn about week conversion; handle single week date
nmdefries Jan 5, 2024
a3e8f5f
test helper function behavior
nmdefries Jan 8, 2024
b5e58c7
test wildcard
nmdefries Jan 9, 2024
7226ec4
Merge branch 'dev' into ndefries/endpt-defaults
nmdefries Jan 9, 2024
9ec5fa0
linting
nmdefries Jan 9, 2024
d9def9f
style: styler (GHA)
nmdefries Jan 9, 2024
d1db445
combine epiweek and date into time_type and time_value for pub_wiki
nmdefries Jan 5, 2024
83e7ce3
combine epiweek and date into time_type and time_value for pvt_twitter
nmdefries Jan 5, 2024
5311e0c
test wildcard and day/week support
nmdefries Jan 9, 2024
543951c
parse int as double so large values don't get set to NA
nmdefries Jan 10, 2024
0cdd4e9
docs: document (GHA)
nmdefries Jan 10, 2024
bac1ea2
warn if rounding changes int value; tests
nmdefries Jan 10, 2024
312f8f1
style: styler (GHA)
nmdefries Jan 10, 2024
a25797f
linting
nmdefries Jan 10, 2024
ce3fc8c
Merge pull request #237 from cmu-delphi/ndefries/int-addl-capacity
nmdefries Jan 18, 2024
61e5742
changelog
nmdefries Jan 18, 2024
d277802
changelog
nmdefries Jan 18, 2024
3ae82e2
Merge branch 'ndefries/endpt-defaults' into ndefries/combine-timetype…
nmdefries Jan 18, 2024
2657bed
Merge pull request #236 from cmu-delphi/ndefries/combine-timetype-wik…
nmdefries Jan 18, 2024
d8d9f9e
docs: document (GHA)
nmdefries Jan 18, 2024
d39bd25
Merge pull request #234 from cmu-delphi/ndefries/endpt-defaults
nmdefries Jan 18, 2024
8d93b44
fix: NAs in int field bug #243
dshemetov Jan 31, 2024
539e958
docs: document (GHA)
dshemetov Jan 31, 2024
d04e4af
Merge pull request #244 from cmu-delphi/ds/covid-hosp-na-bug
dshemetov Jan 31, 2024
81818dd
docs: fix doc page colors, match with epipredict
dshemetov Feb 16, 2024
c310589
repo: update .gitignore
dshemetov Feb 16, 2024
440efa9
ci: match pkgdown with epiprocess
dshemetov Feb 16, 2024
0039280
ci: add build README.md to document.yaml
dshemetov Feb 16, 2024
eb3f91c
repo+doc: follow version conventions from epiprocess
dshemetov Feb 16, 2024
7ece867
doc: update development guide
dshemetov Feb 16, 2024
cfb6578
ci: add pull request template from epiprocess
dshemetov Feb 16, 2024
cac4ca4
Merge pull request #250 from cmu-delphi/ds/ci
dshemetov Feb 23, 2024
b9f064a
doc: update README with epidatr blog post revisions
dshemetov Feb 16, 2024
cd39d25
Merge pull request #249 from cmu-delphi/ds/readme
dshemetov Feb 23, 2024
4a73d0e
doc: update DEVELOPMENT.md
dshemetov Feb 23, 2024
530ffdd
Merge pull request #251 from cmu-delphi/ds/version
dshemetov Feb 23, 2024
6a9c29a
Merge pull request #247 from cmu-delphi/ds/doc
dshemetov Feb 23, 2024
75a6ec8
feat: make set_cache more verbose
dshemetov Feb 16, 2024
78e97ed
refactor+doc: update default timeout_seconds to 15 minutes.
dshemetov Feb 24, 2024
1917e27
ci: fix missing devtools dependency
dshemetov Feb 24, 2024
4ef7429
feat: make default cache directory R version
dshemetov Feb 16, 2024
aa6c641
Merge pull request #248 from cmu-delphi/ds/cache
dshemetov Feb 24, 2024
6e7f0cd
1 days -> 1 day
dsweber2 Feb 26, 2024
2211439
make check happy
dsweber2 Feb 26, 2024
d53a6f7
epiprocess-> epidatr
dsweber2 Feb 26, 2024
7d0eddd
style: styler (GHA)
dsweber2 Feb 26, 2024
07a297e
fix: make cli_inform suppressible in a simpler way
dshemetov Feb 26, 2024
95211e1
style: long lines
dshemetov Feb 26, 2024
cc7a4a3
news structure
dsweber2 Feb 27, 2024
d39fb20
DESC Date unneeded, some compiling
dsweber2 Feb 27, 2024
2e4c722
Merge pull request #253 from cmu-delphi/post-1.0-release
dsweber2 Feb 27, 2024
81dc5a5
docs also includes the readme
dsweber2 Feb 27, 2024
6c82bc6
Merge pull request #255 from cmu-delphi/readmeBuild
dsweber2 Feb 27, 2024
3ba1990
doc: remove cache messsage from README
dshemetov Feb 27, 2024
8099749
ci: add workflow_dispatch to all, trigger document on README.Rmd
dshemetov Feb 27, 2024
aff0c52
docs: document (GHA)
dshemetov Feb 27, 2024
693c04b
Merge pull request #256 from cmu-delphi/ds/fix
dsweber2 Feb 27, 2024
d791ff8
if as_of passed as date, check_is_recent should compare explicitly to…
nmdefries Feb 29, 2024
9b97af4
test
nmdefries Feb 29, 2024
c10b065
version and news
nmdefries Feb 29, 2024
739eebd
Lower news version number
nmdefries Feb 29, 2024
a920a76
Merge pull request #259 from cmu-delphi/ndefries/caching-asof-date
nmdefries Feb 29, 2024
6f4ddb0
CRAN submission
dsweber2 Feb 29, 2024
3440c7f
pkgdown: wrote custom build_site_github_pages
dsweber2 Mar 1, 2024
bdc2031
parentheses, accidental line
dsweber2 Mar 1, 2024
5ed99a9
overide!=override
dsweber2 Mar 1, 2024
e5b7918
style: styler (GHA)
dsweber2 Mar 1, 2024
3d44b2d
speeling and not overwriting existing function
dsweber2 Mar 1, 2024
e51e2a2
build_github_pages is internal to pkgdown, so import
dsweber2 Mar 1, 2024
282eace
ci: use a single epidatr key env var
dshemetov Mar 1, 2024
d6df787
ci: add cli dependency
dshemetov Mar 1, 2024
e63a926
style: styler
dshemetov Mar 1, 2024
e4ca291
Merge pull request #263 from cmu-delphi/ds/ci
dshemetov Mar 1, 2024
c8fa293
ci: fix pkgdown and improve colors
dshemetov Mar 2, 2024
38fb5fd
Merge pull request #264 from cmu-delphi/ds/ci2
dshemetov Mar 2, 2024
1356f60
Merge pull request #262 from cmu-delphi/v1.1release
dsweber2 Mar 2, 2024
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
3 changes: 3 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@
^.venv$
^env$
^.env$
^README\.Rmd$
^CRAN-SUBMISSION$
^LICENSE\.md$
^revdep$
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.0.0
current_version = 1.0.0.9000
commit = False
tag = False

Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @dshemetov @brookslogan @dsweber2
* @dshemetov @brookslogan @dsweber2 @nmdefries
22 changes: 22 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
### Checklist

Please:

- [ ] Make sure this PR is against "dev", not "main" (unless this is a release
PR).
- [ ] Request a review from one of the current epidatr main reviewers:
brookslogan, dshemetov, nmdefries, dsweber2.
- [ ] Makes sure to bump the version number in `DESCRIPTION`. Always increment
the patch version number (the third number), unless you are making a
release PR from dev to main, in which case increment the minor version
number (the second number).
- [ ] Describe changes made in NEWS.md, making sure breaking changes
(backwards-incompatible changes to the documented interface) are noted.
Collect the changes under the next release number (e.g. if you are on
1.7.2, then write your changes under the 1.8 heading).

### Change explanations for reviewer

### Magic GitHub syntax to mark associated Issue(s) as resolved when this is merged into the default branch

- Resolves #{issue number}
1 change: 1 addition & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: [main, dev]
pull_request:
branches: [main, dev]
workflow_dispatch:

name: R-CMD-check

Expand Down
43 changes: 0 additions & 43 deletions .github/workflows/create_release.yml

This file was deleted.

15 changes: 12 additions & 3 deletions .github/workflows/document.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
paths: ["R/**"]
paths: ["R/**", "README.Rmd"]
workflow_dispatch:

name: Document

Expand All @@ -26,17 +27,25 @@ jobs:
- name: Install dependencies
uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::roxygen2
needs: roxygen2
extra-packages: |
any::devtools
any::roxygen2
needs: |
devtools
roxygen2

- name: Document
run: roxygen2::roxygenise()
shell: Rscript {0}

- name: Build README.md from README.Rmd
run: Rscript -e 'devtools::build_readme()'

- name: Commit and push changes
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "[email protected]"
git add README.md
git add man/\* NAMESPACE DESCRIPTION
git commit -m "docs: document (GHA)" || echo "No changes to commit"
git pull --rebase
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: [main, dev]
pull_request:
branches: [main, dev]
workflow_dispatch:

name: lint

Expand Down
30 changes: 23 additions & 7 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
# update the documentation web site on pushes to `dev` branch.
on:
push:
branches: [main]
branches: [main, dev]
pull_request:
branches: [main]
branches: [main, dev]
release:
types: [published]
workflow_dispatch:
Expand All @@ -23,7 +23,7 @@ jobs:
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
DELPHI_EPIDATA_KEY: ${{ secrets.DELPHI_GITHUB_ACTIONS_EPIDATA_API_KEY }}
DELPHI_EPIDATA_KEY: ${{ secrets.SECRET_EPIDATR_GHACTIONS_DELPHI_EPIDATA_KEY }}
steps:
- uses: actions/checkout@v3

Expand All @@ -35,13 +35,29 @@ jobs:

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
extra-packages: any::pkgdown, local::., any::cli
needs: website

- name: Build site
env:
DELPHI_EPIDATA_KEY: ${{ secrets.SECRET_EPIDATR_GHACTIONS_DELPHI_EPIDATA_KEY }}
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
run: |
override <- if (startsWith("${{ github.event_name }}", "pull_request")) {
if ("${{ github.base_ref }}" == "main") {
list(development = list(mode = "release", version_label = "light"))
} else {
list(development = list(mode = "devel", version_label = "success"))
}
} else {
if ("${{ github.ref_name }}" == "main") {
list(development = list(mode = "release", version_label = "light"))
} else {
list(development = list(mode = "devel", version_label = "success"))
}
}
pkg <- pkgdown::as_pkgdown(".", override = override)
cli::cli_rule("Cleaning files from old site...")
pkgdown::clean_site(pkg)
pkgdown::build_site(pkg, preview = FALSE, install = FALSE, new_process = FALSE)
pkgdown:::build_github_pages(pkg)
shell: Rscript {0}

- name: Deploy to GitHub pages 🚀
Expand Down
76 changes: 0 additions & 76 deletions .github/workflows/release_helper.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
"**.[rR]nw",
"**.[rR]profile",
]
workflow_dispatch:

name: Style

Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ env
/Meta/
.secrets
epidatr.Rproj
renv.lock
renv/
.Rprofile
4 changes: 4 additions & 0 deletions .lintr
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ linters: linters_with_defaults(
cyclocomp_linter = NULL,
object_length_linter(length = 40L)
)
exclusions: list(
"renv",
"venv"
)
6 changes: 3 additions & 3 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: 1.0.0
Date: 2023-09-12 08:00:50 UTC
SHA: 52436eb250eab1f9c70b250bf4ca1ab25cc48316
Version: 1.1.0
Date: 2024-02-27 20:25:04 UTC
SHA: 693c04bd80d3ffe0b3c012281303c4878de08c70
13 changes: 8 additions & 5 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
Package: epidatr
Type: Package
Title: Client for Delphi's 'Epidata' API
Version: 1.0.0
Date: 2023-09-11
Authors@R:
Version: 1.1.1
Authors@R:
c(
person("Logan", "Brooks", email = "[email protected]", role = c("aut")),
person("Dmitry", "Shemetov", email = "[email protected]", role = c("aut")),
Expand Down Expand Up @@ -35,22 +34,26 @@ Imports:
MMWRweek,
purrr,
openssl,
rappdirs,
readr,
tibble,
usethis,
xml2
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
Suggests:
dplyr,
ggplot2,
knitr,
maps,
mapproj,
rmarkdown,
rlang,
testthat (>= 3.1.5),
withr
VignetteBuilder: knitr
Language: en-US
Config/testthat/edition: 3
Collate:
Collate:
'auth.R'
'avail_endpoints.R'
'cache.R'
Expand Down
Loading
Loading