Skip to content

Commit 90261f1

Browse files
author
Susan Vanderplas
committed
Try this instead?
1 parent 6084c7f commit 90261f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,16 @@ jobs:
8484
ls -lah ${PIP_CACHE_DIR} || echo "pip cache dir not found"
8585
8686
echo "=== Package count in renv cache before restore ==="
87-
Rscript -e "cat(length(list.files(Sys.getenv(\'RENV_PATHS_CACHE\'), recursive=TRUE)), \'packages in cache\n\')"
87+
Rscript -e \'cat(length(list.files(Sys.getenv("RENV_PATHS_CACHE"), recursive=TRUE)), "packages in cache\n")\'
8888
8989
# Restore R packages from project root
9090
if [ -f "/project/renv.lock" ]; then
9191
echo "=== Restoring R packages with renv ==="
92-
Rscript -e "renv::restore(project = \'/project\', prompt = FALSE)"
92+
Rscript -e \'renv::restore(project = "/project", prompt = FALSE)\'
9393
fi
9494
9595
echo "=== Package count in renv cache after restore ==="
96-
Rscript -e "cat(length(list.files(Sys.getenv(\'RENV_PATHS_CACHE\'), recursive=TRUE)), \'packages in cache\n\')"
96+
Rscript -e \'cat(length(list.files(Sys.getenv("RENV_PATHS_CACHE"), recursive=TRUE)), "packages in cache\n")\'
9797
9898
# Restore Python packages
9999
if [ -f "/project/requirements.txt" ]; then

0 commit comments

Comments
 (0)