From e2c4945727c5ec1a2667065d73580b8f1dbce25c Mon Sep 17 00:00:00 2001 From: Will Townes Date: Wed, 26 Oct 2022 09:44:06 -0400 Subject: [PATCH 1/2] change from devtools to remotes for install instructions. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index af1624e0..b08d0dd5 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@ ## Install -Install latest version using [`devtools`](https://cran.r-project.org/package=devtools) package +Install latest version using [`remotes`](https://cran.r-project.org/package=remotes) package ```R -devtools::install_github("cmu-delphi/epidatr") +remotes::install_github("cmu-delphi/epidatr") ``` Note (2022-08-02): the package that this installs is being renamed from From b032a8dc31d79c46c1bb81ea71e1888810e09e61 Mon Sep 17 00:00:00 2001 From: "Logan C. Brooks" Date: Wed, 26 Oct 2022 16:53:13 -0700 Subject: [PATCH 2/2] Use `remotes` a few more places, redoc, restyle --- man/covid_hosp_facility_lookup.Rd | 3 ++- man/fluview_clinical.Rd | 3 ++- vignettes/covidcast.Rmd | 2 +- vignettes/epidatr.Rmd | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/man/covid_hosp_facility_lookup.Rd b/man/covid_hosp_facility_lookup.Rd index 44053201..368ca9bd 100644 --- a/man/covid_hosp_facility_lookup.Rd +++ b/man/covid_hosp_facility_lookup.Rd @@ -30,7 +30,8 @@ an instance of epidata_call API docs: https://cmu-delphi.github.io/delphi-epidata/api/covid_hosp_facility_lookup.html } \examples{ -\donttest{ # can take a few minutes; donttesting while backend performance is being improved +\donttest{ +# can take a few minutes; donttesting while backend performance is being improved call <- covid_hosp_facility_lookup(state = "fl") fetch_csv(call) } diff --git a/man/fluview_clinical.Rd b/man/fluview_clinical.Rd index 8f49b955..e7fc38dd 100644 --- a/man/fluview_clinical.Rd +++ b/man/fluview_clinical.Rd @@ -22,7 +22,8 @@ an instance of epidata_call API docs: https://cmu-delphi.github.io/delphi-epidata/api/fluview_clinical.html } \examples{ -\donttest{ # can take a couple minutes; donttesting while cmu-delphi/delphi-epidata#48 is unresolved +\donttest{ +# can take a couple minutes; donttesting while cmu-delphi/delphi-epidata#48 is unresolved call <- fluview_clinical(regions = "nat", epiweeks = epirange(201201, 202001)) fetch_classic(call) } diff --git a/vignettes/covidcast.Rmd b/vignettes/covidcast.Rmd index fa1929ed..4761f0c2 100644 --- a/vignettes/covidcast.Rmd +++ b/vignettes/covidcast.Rmd @@ -16,7 +16,7 @@ knitr::opts_chunk$set(echo = TRUE) # Delphi Epidata R API Client ```{r libraries} -# devtools::install_github("cmu-delphi/epidatr") +# remotes::install_github("cmu-delphi/epidatr") library("epidatr") library("magrittr") ``` diff --git a/vignettes/epidatr.Rmd b/vignettes/epidatr.Rmd index 031ecfa1..b09ad253 100644 --- a/vignettes/epidatr.Rmd +++ b/vignettes/epidatr.Rmd @@ -16,7 +16,7 @@ knitr::opts_chunk$set(echo = TRUE) # Delphi Epidata R API Client ```{r libraries} -# devtools::install_github("cmu-delphi/epidatr") +# remotes::install_github("cmu-delphi/epidatr") library("epidatr") library("magrittr") ```