I wonder if this will do anything?

This commit is contained in:
Ryan Curtin
2021-06-08 10:18:18 -04:00
parent b2581bdd65
commit a51db0bce3
+8 -7
View File
@@ -40,13 +40,13 @@ jobs:
cp src/mlpack/bindings/R/mlpack/DESCRIPTION.in DESCRIPTION
Rscript -e "install.packages('remotes')" -e "saveRDS(remotes::dev_package_deps(dependencies = TRUE), 'depends.Rds')"
# - name: Cache R packages
# if: runner.os != 'Windows' && runner.os != 'macOS'
# uses: actions/cache@v1
# with:
# path: ${{ env.R_LIBS_USER }}
# key: ${{ runner.os }}-r-release-${{ hashFiles('depends.Rds') }}
# restore-keys: ${{ runner.os }}-r-release-
- name: Cache R packages
if: runner.os != 'Windows'
uses: actions/cache@v1
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ runner.os }}-r-release-${{ hashFiles('depends.Rds') }}
restore-keys: ${{ runner.os }}-r-release-
- name: Install Build Dependencies
run: |
@@ -59,6 +59,7 @@ jobs:
run: |
remotes::install_deps(dependencies = TRUE)
remotes::install_cran("roxygen2")
remotes::install_cran("processx")
shell: Rscript {0}
- name: CMake