My package development related GitHub actions that use r-lib/actions/setup-r started breaking a few weeks ago.
After a bit of sleuthing, I've been able to identify that this introduction of the install-r variable to the action is the reason why.
I think if I can successfully set install-r to false, things would work again for me, but I'm having trouble getting that to stick.
The relevant portion of a GitHub action definition where I try to set install-r to false, but it's not sticking looks like this:
- uses: r-lib/actions/setup-r@master
with:
install-r: false
For now I've pinned my dependency on the setup-r action to the commit right before this change, as shown below:
- name: Setup R
uses: r-lib/actions/setup-r@2fac31217e602dd30286b4c984a0ccf1afb18cbd
This works, but I'd like to get it back to using @v1 or @master of the setup-r action, if possible.
Am I not setting install-r to false correctly in the yaml file, or is there something else going on?
Some other bits of things I can think of that might be relevant:
-
These actions are set to run inside a Docker container which has all of the system dependencies, R, and R package versions already setup so I can avoid long GitHub action runtimes.
-
The links in this post point to do different, but largely similar, actions on the same GitHub repository, just to show that one of them works when pinned to setup-r@2fac3 and the other doesn't.
Thanks for any help!
-steve