From 5cf938f4ac76303bf12c32387b2a860b0517c83b Mon Sep 17 00:00:00 2001 From: Rikard Nordgren Date: Mon, 3 Jun 2024 08:44:09 +0200 Subject: [PATCH] Test switch to mran for renv --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 26c725dc..42b64eaa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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'))"