JGCRI / hectordata

Prepare and format the inputs for hector.
Other
0 stars 1 forks source link

Github Actions Issue #11

Closed kdorheim closed 4 years ago

kdorheim commented 4 years ago

Objective: get hectordata to pass github actions and document how the problem was solved, this is a reoccurring issue.

Screen Shot 2020-06-12 at 8 19 58 AM
kdorheim commented 4 years ago

To resolve this problem in the .github/workflows/script there will be some line that installs R packages with an install.packages call add the argument repos so that this call knows it is looking at CRAN (even though this is the default) install.packages(c("remotes", "rcmdcheck"), repos = "https://cloud.r-project.org")

When there are GitHub package dependencies they will be installed through the remotes package to do so they must be listed in the remotes section of the DESCRIPTION file see https://remotes.r-lib.org/articles/dependencies.html for more details.