From bea47ca3bca476337d7a859a28415992a9d38b06 Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 24 Nov 2024 21:26:02 +0000 Subject: [PATCH] update readme path handling --- README.Rmd | 2 +- README.md | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.Rmd b/README.Rmd index 5b9f224b5..b0f03c52e 100644 --- a/README.Rmd +++ b/README.Rmd @@ -67,7 +67,7 @@ Similarly, you can install historical versions by specifying the release tag (e. ```{r, eval = FALSE} remotes::install_github( - "epinowcast/epidist", + file.path("epinowcast", "epidist"), dependencies = TRUE, ref = "v0.1.0" ) ``` diff --git a/README.md b/README.md index 50ed873df..fbfe45993 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,8 @@ function, though you need to point to `r-universe` instead of CRAN: ``` r install.packages( - "epidist", repos = "https://epinowcast.r-universe.dev" + "epidist", + repos = "https://epinowcast.r-universe.dev" ) ``` @@ -75,7 +76,8 @@ tag (e.g. this installs ``` r remotes::install_github( - "epinowcast/epidist", dependencies = TRUE, ref = "v0.1.0" + file.path("epinowcast", "epidist"), + dependencies = TRUE, ref = "v0.1.0" ) ```