The devtools vignette demonstrates how to specify dependencies which aren't on CRAN: Devtools dependencies
e.g.,
Imports:
tibble,
ggplot2
Remotes:
gitlab::jimhester/covr
I'm trying to do this for a package that's not at the root of a github repository. For example, the evalcast package is in the R-packages/evalcast
subdirectory of the cmu-delphi-covidcast repo: covidcast/R-packages/evalcast at main · cmu-delphi/covidcast · GitHub
It's installed via remotes with
remotes::install_github("cmu-delphi/covidcast", ref = "main",
subdir = "R-packages/evalcast")
But my question here - how would I include this in the DESCRIPTION under Remotes:
?
I've tried all these and none work:
Remotes: github::cmu-delphi/covidcast/tree/main/R-packages/evalcast
Remotes: url::https://github.com/cmu-delphi/covidcast/tree/main/R-packages/evalcast
I'm trying to get around errors I'm running into with the standard usethis release github action, where evalcast can't be found when it's trying to install under imports. rcmdcheck works locally because I already have it installed, but CI via Github actions fails.