From 2922a19ee6d0e7a1b1b05f28c6bb36be47435271 Mon Sep 17 00:00:00 2001 From: pharmaverse-bot <113703390+pharmaverse-bot@users.noreply.github.com> Date: Thu, 7 Sep 2023 13:01:38 +0200 Subject: [PATCH] add data dir --- .github/workflows/check-templates.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/check-templates.yml b/.github/workflows/check-templates.yml index e29e4571..de5e9aac 100644 --- a/.github/workflows/check-templates.yml +++ b/.github/workflows/check-templates.yml @@ -256,6 +256,7 @@ jobs: head_data_folder=$(git ls-tree -r HEAD data) # check if data folder exists on remote main branch unzip "${GITHUB_WORKSPACE}/data.zip" -d "${GITHUB_WORKSPACE}/inst/extdata/" # move every rda files inside data folder + mkdir -p data for rda_file in inst/extdata/*.rda; do filename=$(basename "$rda_file") mv "$rda_file" "data/$filename"