From 2307ddeae7a77d80e5c5fcb02537e949e32d02f9 Mon Sep 17 00:00:00 2001 From: eitsupi <50911393+eitsupi@users.noreply.github.com> Date: Sun, 12 May 2024 04:33:14 +0000 Subject: [PATCH] fix: rename the option name to more properly --- src/r-dependent-packages/devcontainer-feature.json | 6 +++--- src/r-dependent-packages/install.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/r-dependent-packages/devcontainer-feature.json b/src/r-dependent-packages/devcontainer-feature.json index b3a26f6..74c8c35 100644 --- a/src/r-dependent-packages/devcontainer-feature.json +++ b/src/r-dependent-packages/devcontainer-feature.json @@ -25,12 +25,12 @@ "default": "auto", "description": "Version of pak to install. By default, the stable version is installed if needed." }, - "manifestPath": { + "manifestRoot": { "type": "string", "default": "DESCRIPTION", - "description": "The path of DESCRIPTION file recording the dependent R packages. Passed to the `root` argument of the `pak::local_install_deps()` function.", + "description": "The root path of the DESCRIPTION file recording the dependent R packages. Passed to the `root` argument of the `pak::local_install_deps()` function.", "proposals": [ - "DESCRIPTION" + "." ] }, "additionalRepositories": { diff --git a/src/r-dependent-packages/install.sh b/src/r-dependent-packages/install.sh index 84d528d..f91b21c 100644 --- a/src/r-dependent-packages/install.sh +++ b/src/r-dependent-packages/install.sh @@ -2,7 +2,7 @@ WHEN=${WHEN:-"postCreate"} PAK_VERSION=${PAKVERSION:-"auto"} -ROOT=${MANIFESTPATH:-"DESCRIPTION"} +ROOT=${MANIFESTROOT:-"."} ADDITIONAL_REPOSITORIES=${ADDITIONALREPOSITORIES:-""} DEPENDENCIES=${DEPENDENTTYPES:-"all"}