Use rig in setup-r-dependencies
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 20/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Rust
- Estrellas
- 1k
- Forks
- 42
- Merge medio
- 9 h 33 min
- PR fusionados (30 d)
- 17
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de r-lib/rig
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
r-lib/rig#535 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
bug documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
r-lib/rig#483 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
.Renviron activation in rig proj: handling project secrets and Posit Assistant restrictionsPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
r-lib/rig#518 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
r-lib/rig#515 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
topgrade-rs/topgrade#2540 ·
Los mantenedores suelen responder en 1 día
-
Invalid JSON options for ngram and edge_ngram silently use defaultsPosiblemente ocupada @Tilendlesa la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
noemaforge/vimanam#153 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 3 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día