From b518663be7276d36e2f23d73f350e4c4e4e21022 Mon Sep 17 00:00:00 2001 From: Stephan Meylan Date: Thu, 29 Aug 2024 17:08:11 -0700 Subject: [PATCH] Simplified test_import.yml for testing --- .github/workflows/test_import.yml | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/workflows/test_import.yml b/.github/workflows/test_import.yml index f3fd470..4fcf702 100644 --- a/.github/workflows/test_import.yml +++ b/.github/workflows/test_import.yml @@ -26,25 +26,10 @@ jobs: - uses: r-lib/actions/setup-pandoc@v1 - - name: Query dependencies - run: | - install.packages('remotes') - saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2) - writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version") - shell: Rscript {0} - - - name: Restore R package cache - uses: actions/cache@v2 - with: - path: ${{ env.R_LIBS_USER }} - key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }} - restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1- - - name: Install dependencies run: | - remotes::install_deps(dependencies = TRUE) - install.packages("pkgdown", type = "binary") - shell: Rscript {0} + install.packages('remotes') + remotes::install_github("langcog/peekbankr", force=T) - name: Run pipeline run: R helper_functions/pipeline.R