@ -1,11 +1,14 @@ |
|||
# this is only used during active development phases before/after CRAN releases |
|||
|
|||
.onAttach <- function(...) { # nocov start |
|||
|
|||
if (!interactive()) return() |
|||
|
|||
packageStartupMessage(paste0("cdcfluview is under *active* development. ", |
|||
"There are numerous changes & dprecations.\n", |
|||
if (sample(c(TRUE, FALSE), 1, prob = c(0.1, 0.9))) { |
|||
packageStartupMessage(paste0("There are numerous changes & deprecations. ", |
|||
"See https://github.com/hrbrmstr/cdcfluview for info/news.")) |
|||
} |
|||
|
|||
# packageStartupMessage(paste0("cdcfluview is under *active* development. ", |
|||
# "There are numerous changes & dprecations.\n", |
|||
# "See https://github.com/hrbrmstr/cdcfluview for info/news.")) |
|||
|
|||
} # nocov end |
|||
|
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 74 KiB |
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
Before Width: | Height: | Size: 97 KiB After Width: | Height: | Size: 97 KiB |
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 123 KiB After Width: | Height: | Size: 123 KiB |
Before Width: | Height: | Size: 109 KiB After Width: | Height: | Size: 109 KiB |
Before Width: | Height: | Size: 121 KiB After Width: | Height: | Size: 121 KiB |
Before Width: | Height: | Size: 100 KiB After Width: | Height: | Size: 100 KiB |
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 114 KiB After Width: | Height: | Size: 114 KiB |
Before Width: | Height: | Size: 120 KiB After Width: | Height: | Size: 120 KiB |
Before Width: | Height: | Size: 163 KiB After Width: | Height: | Size: 163 KiB |
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 54 KiB |
@ -1,18 +1,34 @@ |
|||
## Test environments |
|||
* local OS X install, R 3.3.2 & R-devel |
|||
* ubuntu 12.04 (on travis-ci), R 3.3.2, R-oldrel and R-devel |
|||
|
|||
* local OS X install, R 3.4.2 |
|||
* local Ubuntu 16.04 R 3.4.1 |
|||
* ubuntu 14.04 (on travis-ci), R old/current/devel |
|||
* win-builder (devel and release) |
|||
* rhub Windows (devel and release) |
|||
|
|||
## R CMD check results |
|||
|
|||
0 errors | 0 warnings | 0 notes |
|||
0 errors | 0 warnings | 1 note |
|||
|
|||
--- |
|||
* This is a maintenance update. |
|||
|
|||
This is a bug-fix release. |
|||
## Reverse dependencies |
|||
|
|||
The CDC changed over to using https URLs which broke the core function. |
|||
None |
|||
|
|||
--- |
|||
|
|||
Their state API also changed from returning a CSV file to a JSON direct response. |
|||
The CDC changed most of their API endpoints to support a new HTML interface and |
|||
re-jiggered the back-end API. Craig McGowan updated the old cdcfluview API function |
|||
to account for the changes. However, the new API endpoints provided additional |
|||
data features and it seemed to make sense to revamp the package to fit more in line |
|||
with the way the APIs were structured. Legacy cdcfluview functions have been deprecated |
|||
and will display deprecation messages when run. The new cdcfluview package API |
|||
changes a few things about how you work with the data but the README and examples |
|||
show how to work with it. |
|||
|
|||
Tests have been added as well. |
|||
Only some examples run on CRAN due to their time consuming nature and the need |
|||
to make external calls. Weekly tests are performed on Travis-CI |
|||
<https://travis-ci.org/hrbrmstr/cdcfluview> and the package itself has 91% |
|||
code coverage during tests <https://codecov.io/github/hrbrmstr/cdcfluview?branch=master>. |
|||
All package functions are also evaluated on each new generation of the README. |