Skip to content

Add runiverse binaries for r-devel - #425

Open
VisruthSK wants to merge 6 commits into
masterfrom
speedup-GHA
Open

VisruthSK wants to merge 6 commits into
masterfrom
speedup-GHA

Conversation

@VisruthSK

@VisruthSK VisruthSK commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Attempt to speed up PRs by using binaries for R-devel runs too.

https://docs.r-universe.dev/install/binaries.html

@codecov-commenter

codecov-commenter commented Nov 24, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.82%. Comparing base (3079dca) to head (731517f).
⚠️ Report is 5 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #425      +/-   ##
==========================================
- Coverage   92.88%   92.82%   -0.07%     
==========================================
  Files          31       31              
  Lines        3289     3078     -211     
==========================================
- Hits         3055     2857     -198     
+ Misses        234      221      -13     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@VisruthSK
VisruthSK marked this pull request as ready for review November 24, 2026 04:46
@VisruthSK
VisruthSK requested a review from jgabry November 24, 2026 04:46
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

This is how benchmark results would change (along with a 95% confidence interval in relative change) if 731517f is merged into master:

Status Name Current Incoming Interval
✔️ loo_matrix 1.27s 1.27s [-1.57%, +0.91%]
✔️ loo_function 1.14s 1.15s [-0.24%, +2.02%]

Further explanation regarding interpretation and methodology can be found in the documentation.

@jgabry jgabry left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice speed up! How will we remember to update the URL? I suggested adding a comment, but that doesn't really remind us unless we see it.

Comment thread .github/workflows/R-CMD-check.yaml Resolved
@VisruthSK
VisruthSK requested a review from jgabry November 24, 2026 20:22
shell: Rscript {0}
run: |
cat(
'options(repos = c(RUNIVERSE = sprintf("https://cran.r-universe.dev/bin/linux/resolute-x86_64/%s/", getRversion()[, 1:2]), getOption("repos")))\n',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The resolute here will also change at some point. It's probably possible to derive that too, but maybe not necessary. When r-universe moves past resolute, will this error or go back to source? I guess either way we'd notice and could update it. Then again, if we're going to notice it because this workflow errors or starts taking an hour, then maybe we don't need to add any of this extra complication to derive the URL at all and we just update it manually? Now I'm not sure ;)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm that's true. Yeah I didn't bother deriving since its getting unwieldy. I'm happy with this current compromise. I think it would just warn since the repo would be invalid and would fall back to source installs from CRAN/P3M. Ubuntu 26 is a LTS release so I doubt they'll drop support anytime soon.

All that to say, I think this is a decent balance between ugly and automated, but could be convinced to go either way (more/less ugly/brittle)

This branch has not been deployed

No deployments
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.

3 participants