Skip to content

CI: install remotes when the runner has not - #18

Merged
TroyHernandez merged 1 commit into
mainfrom
ci-bootstrap-remotes
Aug 23, 2026
Merged

CI: install remotes when the runner has not#18
TroyHernandez merged 1 commit into
mainfrom
ci-bootstrap-remotes

Conversation

@TroyHernandez

Copy link
Copy Markdown
Contributor

macos-latest moved to arm64 and r-ci's macOS bootstrap stopped leaving remotes behind. ./run.sh install_deps calls it directly, so the dependency step failed 0.16s in, before any package code was parsed:

Error in loadNamespace(x) : there is no package called ‘remotes’

Two things made that worse than it looks:

  • It is identical across every repo on this CI. Three unrelated PRs all read red at once, and none of the redness was about their contents.
  • fail-fast cancelled the Linux leg — the leg that actually gates these packages. So the run reported failure having never run the tests that matter, which is the opposite of a useful signal.

The fix is guarded on absence, so it is a no-op on Linux and deletes itself the day upstream ships a fix. Pinning macos-13 would also work, and would quietly keep us on an x86_64 image indefinitely.

Root cause is upstream in eddelbuettel/github-actions/r-ci, not here.

macos-latest moved to arm64 and r-ci's macOS bootstrap stopped
leaving `remotes` behind. ./run.sh install_deps calls it directly, so
the dependency step failed 0.16s in, before any package code was
parsed, with "there is no package called remotes".

Two things made that worse than it looks. It is identical across every
repo on this CI, so three unrelated PRs all read red at once and none
of the redness was about their contents. And fail-fast cancelled the
Linux leg, which is the leg that actually gates these packages -- so
the run reported failure while never running the tests that matter.

Guarded on absence, so it is a no-op on Linux and removes itself when
upstream ships the fix. Pinning macos-13 would also work and would
quietly keep us on an x86_64 image indefinitely.
@TroyHernandez
TroyHernandez merged commit af20512 into main Aug 23, 2026
2 checks passed
@TroyHernandez
TroyHernandez deleted the ci-bootstrap-remotes branch August 23, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant