Skip to content

Commit 5a81577

Browse files
committed
fix: changes from devtools::release()
1 parent 080b630 commit 5a81577

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Authors@R:
1818
)
1919
URL: https://cmu-delphi.github.io/epidatr/, https://cmu-delphi.github.io/delphi-epidata/, https://github.com/cmu-delphi/epidatr
2020
BugReports: https://github.com/cmu-delphi/epidatr/issues
21-
Description: The Delphi 'Epidata' API provides real-time access to epidemiological surveillance data for influenza, COVID-19, and other diseases for the USA at various geographical resolutions, both from official government sources such as the Center for Disease Control (CDC) and Google Trends and private partners such as Facebook and Change Healthcare. It is built and maintained by the Carnegie Mellon University Delphi research group. To cite this API: David C. Farrow, Logan C. Brooks, Aaron Rumack, Ryan J. Tibshirani, Roni Rosenfeld (2015). Delphi Epidata API. <https://github.com/cmu-delphi/delphi-epidata>
21+
Description: The Delphi 'Epidata' API provides real-time access to epidemiological surveillance data for influenza, 'COVID-19', and other diseases for the USA at various geographical resolutions, both from official government sources such as the Center for Disease Control (CDC) and Google Trends and private partners such as Facebook and Change 'Healthcare'. It is built and maintained by the Carnegie Mellon University Delphi research group. To cite this API: David C. Farrow, Logan C. Brooks, Aaron 'Rumack', Ryan J. 'Tibshirani', 'Roni' 'Rosenfeld' (2015). Delphi 'Epidata' API. <https://github.com/cmu-delphi/delphi-epidata>.
2222
Depends: R (>= 3.5.0)
2323
License: MIT + file LICENSE
2424
Encoding: UTF-8

R/cache.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ cache_environ$epidatr_cache <- NULL
6969
#' call.
7070
#' @examples
7171
#' set_cache(
72-
#' dir = tempdir(),
72+
#' cache_dir = tempdir(),
7373
#' days = 14,
7474
#' max_size = 512,
7575
#' logfile = "logs.txt"
@@ -186,7 +186,7 @@ set_cache <- function(cache_dir = NULL,
186186
#' @export
187187
#' @import cachem
188188
clear_cache <- function(disable = FALSE, ...) {
189-
if (!is.na(cache_environ$epidatr_cache)) {
189+
if (any(!is.na(cache_environ$epidatr_cache))) {
190190
cache_environ$epidatr_cache$destroy()
191191
}
192192
if (disable) {

R/endpoints.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1102,7 +1102,7 @@ pub_fluview_meta <- function(fetch_args = fetch_args_list()) {
11021102
#' more information on ILINet, see
11031103
#' <https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html>.
11041104
#'
1105-
#' @details The full list of location inputs can be accsssed at
1105+
#' @details The full list of location inputs can be accessed at
11061106
#' <https://github.com/cmu-delphi/delphi-epidata/blob/main/src/acquisition/fluview/fluview_locations.py>.
11071107
#'
11081108
#' @examples
@@ -1494,7 +1494,7 @@ pvt_norostat <- function(auth, locations, epiweeks, fetch_args = fetch_args_list
14941494
#'
14951495
#' Obtains information on outpatient inluenza-like-illness (ILI) from Delphi's
14961496
#'
1497-
#' @details The full list of location inputs can be accsssed at
1497+
#' @details The full list of location inputs can be accessed at
14981498
#' <https://github.com/cmu-delphi/delphi-epidata/blob/main/src/acquisition/fluview/fluview_locations.py>.
14991499
#'
15001500
#' @examples

man/epidatr-package.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/pub_fluview.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/pub_nowcast.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/set_cache.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)