Skip to content

Commit

Permalink
[CI] Use r-universe to avoid using API calls to install dev packages
Browse files Browse the repository at this point in the history
  • Loading branch information
cderv committed Jul 24, 2023
1 parent 907d4c2 commit 49f1bd1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test-smokes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,9 @@ jobs:
if (!requireNamespace('renv', quietly = TRUE)) install.packages('renv')
renv::restore()
# Install dev versions for our testing
renv::install("yihui/knitr")
renv::install("rstudio/rmarkdown")
# Use r-universe to avoid github api calls
try(renv::install('knitr', repos = c('https://yihui.r-universe.dev')))
try(renv::install('rmarkdown', repos = c('https://rstudio.r-universe.dev')))
shell: Rscript {0}
env:
RENV_CONFIG_REPOS_OVERRIDE: https://packagemanager.rstudio.com/cran/latest
Expand Down

0 comments on commit 49f1bd1

Please sign in to comment.