diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index addcc84c..764f24c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -276,7 +276,7 @@ jobs: - name: Download R uses: suisei-cn/actions-download-file@v1 with: - url: https://cran.r-project.org/bin/windows/base/old/4.4.0/R-4.4.0-win.exe + url: https://cran.r-project.org/bin/windows/base/old/4.3.3/R-4.3.3-win.exe target: downloads/ - name: Download Python uses: suisei-cn/actions-download-file@v1 @@ -393,7 +393,7 @@ jobs: - name: Move pandoc run: mv installer/pandoc-2.5-windows-i386/pandoc.exe installer/strawberry/perl/bin shell: bash - - name: Install Rtools40 + - name: Install Rtools42 shell: pwsh run: | if(Test-path c:\\rtools42){ @@ -403,12 +403,12 @@ jobs: } echo "c:\\rtools42\\usr\\bin" >> $GITHUB_PATH - name: Install R - run: downloads\R-4.4.0-win.exe /VERYSILENT /DIR="installer\R" + run: downloads\R-4.3.3-win.exe /VERYSILENT /DIR="installer\R" shell: cmd - name: Install renv run: | md installer\Rlib - installer\R\bin\x64\Rscript.exe -e "install.packages('renv', lib='installer/Rlib', repos='https://mran.microsoft.com/snapshot/2024-06-03/')" + installer\R\bin\x64\Rscript.exe -e "install.packages('renv', lib='installer/Rlib')" 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'))"