You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DEVELOPMENT.md
+14-10Lines changed: 14 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,8 +48,12 @@ Please follow the guidelines in the [PR template document](.github/pull_request_
48
48
49
49
Open a release issue and then copy and follow this checklist in the issue (modified from the checklist generated by `usethis::use_release_issue(version = "1.0.2")`):
Open a release issue and then copy and follow this checklist in the issue (modified from the checklist generated by `usethis::use_release_issue(version = "1.0.2")`):
53
+
54
+
-[ ]`git pull` on `dev` branch.
55
+
-[ ] Make sure all changes are committed and pushed.
-[ ] If check works well enough, merge to main. Otherwise open a PR to fix up.
@@ -61,20 +65,20 @@ Open a release issue and then copy and follow this checklist in the issue (modif
61
65
- This may choke on the MIT license url, and that's ok.
62
66
-[ ]`devtools::build_readme()`
63
67
-[ ]`devtools::check_win_devel()`
64
-
-[ ]Check email for problems
68
+
-[ ]Have maintainer ("cre" in description) check email for problems.
65
69
-[ ]`revdepcheck::revdep_check(num_workers = 4)`.
66
70
- This may choke, it is very sensitive to the binary versions of packages on a given system. Either bypass or ask someone else to run it if you're concerned.
67
71
-[ ] Update `cran-comments.md`
68
-
-[ ] PR with any changes
72
+
-[ ] PR with any changes (and go through the list again) into `dev` and run through the list again.
69
73
70
74
Submit to CRAN:
71
75
72
-
-[ ]`devtools::submit_cran()`
73
-
-[ ]Approve email
76
+
-[ ]`devtools::submit_cran()`.
77
+
-[ ]Maintainer approves email.
74
78
75
79
Wait for CRAN...
76
80
77
-
-[ ]Accepted :tada:
78
-
-[ ]`dev`
79
-
-[ ]`usethis::use_github_release(publish = FALSE)` (publish off, otherwise it won't push).
80
-
-[ ]check the release notes and publish the branch on github
81
+
-[ ]If accepted :tada:, move to next steps. If rejected, fix and resubmit.
82
+
-[ ]Open and merge a PR containing any updates made to `main` back to `dev`.
83
+
-[ ]`usethis::use_github_release(publish = FALSE)` (publish off, otherwise it won't push) will create a draft release based on the commit hash in CRAN-SUBMISSION and push a tag to the GitHub repo.
84
+
-[ ]Go to the repo, verify the release notes, and publish when ready.
Copy file name to clipboardExpand all lines: NEWS.md
+23-2Lines changed: 23 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,31 +1,52 @@
1
+
# epidatr 1.2.0
2
+
3
+
## Changes
4
+
5
+
- Improve handling of the `EPIDATR_USE_CACHE` environment variable, allowing it
6
+
to be any value convertable by `as.logical()` and handle the case when it
7
+
can't be converted.
8
+
- Support more date formats in function to convert dates to epiweeks. Use `parse_api_date` since it already supports both common formats. #276
9
+
-`EPIDATR_USE_CACHE` only supported exactly "TRUE" before. Now it supports all logical values and includes a warning when any value that can't be converted to logical is provided. #273
10
+
-`missing` doesn't count default values as non-missing. If a user doesn't pass `geo_values` or `time_values` (both of which default to `"*"` in `pub_covidcast`), or `dates` (in `pub_covid_hosp_state_timeseries`), the missing check fails. To avoid this, just don't check missingness of those two arguments.
11
+
1
12
# epidatr 1.1.1
2
13
3
14
## Changes
4
15
5
16
## Features
6
17
7
18
## Patches
8
-
- Fixed failure when passing `as_of` values in `Date` format to
9
-
`pub_covidcast` while caching is enabled (#259)
19
+
20
+
- Fix failure when passing `as_of` values in `Date` format to
21
+
`pub_covidcast` while caching is enabled (#259).
22
+
- For `pub_covidcast` data source `nchs-mortality`, parse dates as `epiweek`
23
+
and expect `epiweek` inputs from user (#260).
24
+
- Fix failure in `pub_covidcast` when user doesn't pass `geo_values` or
25
+
`time_values`, even though those arguments have defaults (#268).
10
26
11
27
# epidatr 1.1.0
12
28
13
29
## Changes
30
+
14
31
-`pub_covid_hosp_state_timeseries` now supports use of the `as_of` parameter (#209).
15
32
-`release_date` and `latest_update` fields are now parsed as `Date`, rather
16
33
than as text. This change impacts several endpoints.
17
34
-`get_auth_key` renamed to `get_api_key` (#181).
18
35
-`get_api_key` no longer reads from R options and only uses environment variables (#217).
19
36
-`pvt_twitter` and `pub_wiki` now use `time_type` and `time_values` args instead of mutually exclusive `dates` and `epiweeks` (#236). This matches the interface of the `pub_covidcast` endpoint.
20
37
- Updated the default `timeout_seconds` to 15 minutes to allow large queries by default.
38
+
21
39
## Features
40
+
22
41
- Function reference now displays commonly-used functions first (#205).
23
42
- Support `Date` objects passed to version arguments `as_of` and `issues` in
24
43
endpoints (#192, #194).
25
44
-`clear_cache` now handles positional arguments just like `set_cache` (#197).
26
45
-`set_api_key` now available to help persist API key environment variables (#181, #217).
27
46
- All endpoints now support the use of "\*" as a wildcard to fetch all dates or epiweeks (#234).
47
+
28
48
## Patches
49
+
29
50
- Endpoints now fail when passed misspelled arguments (#187, #201).
30
51
-`pub_fluview_meta` fixed to `fetch` the response automatically.
31
52
-`pub_covid_hosp_state_timeseries` now correctly parses the `issue` field,
0 commit comments