Skip to content
Discussion options

You must be logged in to vote

CONFIRMED solution:

actions/setup-r-dependencies at v2 · r-lib/actions · GitHub

Dependencies in other CRAN-like repositories

If your dependency is available in a CRAN-like repository (e.g. R-universe), then you can use the extra-repositories parameter of the setup-r action. See more at the setup-r documentation.

So I had to add the extra-repositories: "https://janmarvin.r-universe.dev" line after with in the - uses: r-lib/actions/setup-r@v2 line, so it looks like this in the R-CMD-check.yaml workflow file:

  - uses: r-lib/actions/setup-r@v2
    with:
      r-version: ${{ matrix.config.r }}
      http-user-agent: ${{ matrix.config.http-user-agent }}
      use-public-rspm: true
      extr…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rempsyc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants