You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use uvr run instead of bare Rscript in CI/justfile (#32)
uvr r install downloads R to ~/.uvr/r-versions/ but never puts it on
PATH - CI's "Rscript: command not found" (exit 127) on both the test
and docs-build steps, since the previous migration removed
r-lib/actions/setup-r and nothing else provided an Rscript binary.
This worked locally only by coincidence: this machine's separate
system R happened to already be the same pinned version.
scripts/run-tests.R wraps testthat::test_dir()/test_file() (uvr run
only accepts a script file, not an inline -e expression) so the test
recipe becomes `uvr run scripts/run-tests.R`, matching gen-rd.R's
existing `uvr run scripts/gen-rd.R` pattern - both now run via uvr's
own R resolution instead of depending on PATH at all. Updated in
justfile, ci.yml, and CLAUDE.md's single-test-file command.
Verified locally: `uvr run scripts/run-tests.R` (and with -- <file>
for a single test) and `just docs-build`'s full 13-page render both
pass.
Assisted-by: Claude Sonnet 5 <noreply@anthropic.com>
0 commit comments