Re: [R-pkg-devel] GitHub actions incantation for package living in a subdirectory?

2020-12-24 Thread Bryce Mecum
Hi Ben, I took a look at the action you've got set up for your repo and I think the core issues are that some steps in your Action should be run with the root as their working directory, others should have the package root (subfolder) as their working directory, and some arguments to steps need to

Re: [R-pkg-devel] GitHub actions incantation for package living in a subdirectory?

2020-12-24 Thread Gábor Csárdi
You can try to add some `setwd()` calls at the beginning of each step that calls some R command. This is not great of course, much of the GitHub-R tooling just assumes that a repo contains a single package, at the root of the repo. Converting your repos to this structure is painful, but can be sti