[R-pkg-devel] GitHub actions incantation for package living in a subdirectory?
Ben Bolker
bbo|ker @end|ng |rom gm@||@com
Thu Dec 24 01:46:25 CET 2020
Hi folks,
Attempting to transition a package (glmmTMB/glmmTMB on GitHub) from
Travis-CI to GIthub Actions.
Setting this up with usethis::use_github_actions() seems fairly
straightforward, ... but ... this project has the R package living, not
in the root directory of the repository, but in the 'glmmTMB'
subdirectory. In principle, "all" I have to do is add
"working-directory: ./glmmTMB" in the right place in the
.github/workflows/R-CMD-check.yaml file, but I don't seem to have
succeeded so far. The results have either been very rapid failure due to
syntax errors (https://github.com/glmmTMB/glmmTMB/actions), *or*
apparently nothing (browsing around, it seems as though one doesn't
generally see GH actions results until the run is completed?)
Does anyone have suggestions (or, ideally, an example of a package
with this repository configuration with a working GH actions setup)?
Recent attempts: https://github.com/glmmTMB/glmmTMB/commits/github_actions
Most recent attempt:
https://github.com/glmmTMB/glmmTMB/commit/d1a08058636df0a4835f897d1e43909510f9c652
happy holidays to all ...
Ben Bolker
More information about the R-package-devel
mailing list