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
#71 0 comments 0 reactions 0 assignees View on GitHub

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
    WHEREAS
  • repo_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_name of function use_gitlab_ci() to : https://packagemanager.posit.co/cran/__linux__/jammy/latest

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.