From a51db0bce302bd532cd92bfab14239cbf8f7134e Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Tue, 8 Jun 2021 10:18:18 -0400 Subject: [PATCH] I wonder if this will do anything? --- .github/workflows/main.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4d3ab17447..c2bac7f193 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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