Skip to content

Commit

Permalink
Test switch to mran for renv
Browse files Browse the repository at this point in the history
  • Loading branch information
rikardn committed Jun 3, 2024
1 parent 8638c67 commit 5cf938f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ jobs:
- name: Install renv
run: |
md installer\Rlib
installer\R\bin\x64\Rscript.exe -e "install.packages('renv', lib='installer/Rlib', repos='http://cran.us.r-project.org')"
installer\R\bin\x64\Rscript.exe -e "install.packages('renv', lib='installer/Rlib', repos='https://mran.microsoft.com')"
shell: cmd
- name: Install R dependencies
run: installer\R\bin\x64\Rscript.exe -e ".libPaths('installer/Rlib'); options(renv.config.copy.method='R'); options(renv.consent=TRUE); renv::settings$use.cache(FALSE); renv::restore(library='installer/Rlib', lockfile='PsN-Source/PsNR/renv.lock'); Sys.setenv(TZ='Europe/Berlin', LC_TIME='C', LC_MONETARY='C'); remotes::install_local('PsN-Source/PsNR', lib='installer/Rlib', repos=NULL, dependencies=F, INSTALL_opts=c('--no-multiarch'))"
Expand Down

0 comments on commit 5cf938f

Please sign in to comment.