Skip to content

Commit

Permalink
test: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi committed May 12, 2024
1 parent 22b89f2 commit 5c44688
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/r-dependent-packages/lifecycle_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

echo "Install dependent R packages..."

# R -q -e \
# 'pak::repo_add(@REPOS@); pak::local_install_deps("@ROOT@", dependencies = trimws(unlist(strsplit("@DEPS@", ","))))'
R -q -e \
'pak::repo_add(@REPOS@); pak::local_install_deps("@ROOT@", dependencies = trimws(unlist(strsplit("@DEPS@", ","))))'

echo "Done!"
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: foo
Version: 0.0.0.9000
Suggests:
cli
cli,
rlang
4 changes: 3 additions & 1 deletion test/r-dependent-packages/scenarios.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"r-ver-default": {
"image": "rocker/r-ver:4",
"features": {
"r-dependent-packages": {}
"r-dependent-packages": {
"manifestRoot": ".devcontainer"
}
}
}
}

0 comments on commit 5c44688

Please sign in to comment.