diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 338f93d4..a0b910bd 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -5,6 +5,7 @@ on: branches: [main, dev] pull_request: branches: [main, dev] + workflow_dispatch: name: R-CMD-check diff --git a/.github/workflows/document.yaml b/.github/workflows/document.yaml index 80672c74..17a85104 100644 --- a/.github/workflows/document.yaml +++ b/.github/workflows/document.yaml @@ -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 diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index afd9fdbe..4eda2fd3 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -5,6 +5,7 @@ on: branches: [main, dev] pull_request: branches: [main, dev] + workflow_dispatch: name: lint diff --git a/.github/workflows/style.yaml b/.github/workflows/style.yaml index c01a2da9..acdc0470 100644 --- a/.github/workflows/style.yaml +++ b/.github/workflows/style.yaml @@ -10,6 +10,7 @@ on: "**.[rR]nw", "**.[rR]profile", ] + workflow_dispatch: name: Style diff --git a/README.Rmd b/README.Rmd index 319cf4fa..51f3670c 100644 --- a/README.Rmd +++ b/README.Rmd @@ -45,6 +45,12 @@ forecasting models. We also provide packages for downstream data processing ## Usage +```{r, echo=FALSE} +# This is so that if you have USE_EPIDATR_CACHE=TRUE in your .Renviron, the +# startup message does not get included in the README.md when you build this. +suppressPackageStartupMessages(library(epidatr)) +``` + ```{r} library(epidatr) # Obtain the smoothed covid-like illness (CLI) signal from Delphi's US COVID-19 diff --git a/README.md b/README.md index 31b1305e..e849ac2d 100644 --- a/README.md +++ b/README.md @@ -39,13 +39,6 @@ also provide packages for downstream data processing ``` r library(epidatr) -#> ! epidatr cache is being used (set env var EPIDATR_USE_CACHE=FALSE if not -#> intended). -#> ℹ The cache directory is /fasterHome/workingDataDir/epidatr. -#> ℹ The cache will be cleared after 1 day and will be pruned if it exceeds 1024 -#> MB. -#> ℹ The log of cache transactions is stored at -#> /fasterHome/workingDataDir/epidatr/logfile.txt. # Obtain the smoothed covid-like illness (CLI) signal from Delphi's US COVID-19 # Trends and Impact Survey (CTIS), in partnership with Facebook, as it was on # April 10, 2021 for the US at the national level