ThinkR-open / ThinkR-open/lozen
fix: As a user I would like that the default package repo use in the gitlab CI be in sync with the rocker/verse version
Open
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 8
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Problem
Currently there is a mismatch between the default arguments of use_gitlab_ci().
image = "rokcer/verse"will cause the runner to start from the latest rocker/verse image which uses ubuntu jammy
WHEREASrepo_name = "https://packagemanager.rstudio.com/all/__linux__/focal/latest"will cause the R packages to be installed as binaries compiled for an earlier version of ubuntu (focal).
This causes some uncanny errors while installing packages with compiled code.
Validation
- When adding a gitlab-ci.yml in a new project the link to posit packagemanager repo corresponds to Ubuntu Jammy which is the version used by the latest rocker/verse image.
Tech
- Change default values for argument
repo_nameof functionuse_gitlab_ci()to :https://packagemanager.posit.co/cran/__linux__/jammy/latest
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the use_gitlab_ci() entry point and inspect how its repo_name default is written into a generated gitlab-ci.yml. Verify that the generated package repository uses the Ubuntu Jammy Posit Package Manager URL, matching the rocker/verse image described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- gitlab, r
- Domain
- ci-cd, devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100