Closed lwjohnst86 closed 10 months ago
@signekb and @Aastedet please look this over and approve and then merge in :relaxed:
@Aastedet The R-CMD check fails with the following error message:
L71: * checking whether package ‘osdc’ can be installed ... ERROR
L72: Error: Installation failed.
[...]
L92: Error: Error in here("R/packages.R") : could not find function "here"
L93: Error: Error: unable to load R code in package ‘osdc’
It seems that the following scripts call source(here::here("R/packages.R))
and R/packages.R
doesn't exist:
draw_dm_sample.R
filter.R
population.R
@signekb there will be lots of errors for a while, as we fix issues one by one.
This PR adds a file in the
.github/workflows/
folder that tells GitHub to run an "Action" on the contents of the repository. In this case the action is to run checks on the package and test that things work in an independent and clean environment. Right now, the action uses a very basic R check that would not be suitable for a CRAN submission, but is a good starting point.By the way, I created this using
usethis::use_github_action("check-release")
. :grin: