Use rig in setup-r-dependencies
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
Direzione di ricerca
Start by reading the setup-r-dependencies integration described in the issue, then inspect src/pkgsource.rs:106, src/proj.rs:493, src/help/pkg-install.md, repos-plan.md, src/help/proj-import.md, and proj-lock.md. Run the existing relevant tests or CI workflows to identify one gap and its current failure. Done would require a scoped implementation with tests and working setup-rig-dependencies integration, but the issue lists multiple unresolved designs.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Gaps (roughly by importance)
- #426
No sysreqs lookup/install at all. pak's biggest CI feature.
Needs: sysreqs DB (P3M sysreqs API or r-hub/r-system-requirements rules), distro
detection (already exists for installing R), sudo handling,apt-get update. - #428
Nobioc::refs, no Bioc repos, no Bioc-version-to-R-version mapping. - Configured / extra repositories.
pkgandprojuse only P3M/CRAN (help note in
src/help/pkg-install.md,repos-plan.md). Missing: r-universe, drat,Additional_repositories,
repos fromsetup-r'sextra-repositories. -
Config/Needs/<x>forrig pkg install. Onlyproj importreads them
(src/proj.rs:493), and even there groups are "carried but not solved" per
src/help/proj-import.md:41(conflicts withproj-lock.md). CI needs--needs check,
--needs website, etc. - pak ref syntax
any::anddeps::. Not parsed (src/pkgsource.rs:106). Existing
workflows use them everywhere;any::xcould map to plainx,deps::pathto
--no-install-project path. - Finer dependency selection. Only hard vs
--dev(Suggests + Enhances). pak allows
"hard",TRUE,"all", explicit field lists,Config/Needs/*. Enhances are often
unavailable;--devmay need--ignore-unavailablein CI where pak just works. - Lock-then-install split for caching. Need a stable resolution file to hash for the cache
key (e.g.rig pkg install --dry-run --lockfile out.lock, then--from-lockfile), or a
documented, cacheable rig cache dir (rig cache info --jsonpath) as alternative.
The resolution must be deterministic for the same inputs. - Working with the R that
setup-rinstalls.setup-ruses its own installers
(r-builds in/opt/Ron Linux, CRAN pkg on macOS, CRAN exe on Windows); rig must find
them, honorR_LIBS_USERset by the action, and work with system R (/usr/lib/R, e.g.
rocker images) and in containers without sudo. Needs checking. - Upgrade semantics. rig always picks newest; pak default
upgrade = FALSEkeeps
installed versions that satisfy constraints. Matters with restored caches and
lockfile-create-lib. - GitHub auth. No
GITHUB_PAT/GITHUB_TOKENsupport; relies on git credentials.
Fine for public repos; privateRemotes:in CI need a token-to-git bridge. - Windows source builds. Relies on Rtools being present and found; confirm rig's
R CMD INSTALLpath works on GitHub runners. - Nice to have / could stay in the action: pandoc and quarto install, session info
print (arig pkg listwith sources and versions table is close), failure log dumps
(rig already points to_logs; CI wants the log printed inline). - The action itself. A
setup-rig-dependencies(or new mode of the existing action)
that wires rig +actions/cachetogether with the same inputs, so workflows switch
with a one-line change.
- Lingua principale
- Rust
- Stelle
- 1k
- Fork
- 41
- Merge medio
- 9h 33m
- PR unite (30g)
- 17
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di r-lib/rig
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
.Renviron activation in rig proj: handling project secrets and Posit Assistant restrictionsForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ubugeeei-prod/vize#13586 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
storytold/photocraft#16565 ·
I maintainer di solito rispondono entro 1 giorno
-
flaky needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
bherbruck/solvecraft#21315 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
undergroundrap/hatchling#624 ·
I maintainer di solito rispondono entro 1 giorno
-
node:url: url.parse and url.resolve report name parse/resolve instead of Node's urlParse/urlResolveApertaarea:stdlib effort:S impact:low parity type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno