From b2b5de0a3deadce8b3ec27192b50dd62cfc46e40 Mon Sep 17 00:00:00 2001 From: Mike Tokic Date: Thu, 9 Sep 2021 15:56:10 -0700 Subject: [PATCH] bypass pak dependecy solver --- .github/workflows/pkgdown.yaml | 31 +++++++++---------------------- 1 file changed, 9 insertions(+), 22 deletions(-) diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index fa31bf4..208d365 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -19,34 +19,21 @@ jobs: id: install-r with: r-version: '4.1.1' - - - uses: r-lib/actions/setup-pandoc@v1 - - name: Install pak and query dependencies - run: | - install.packages("pak", repos = "https://r-lib.github.io/p/pak/dev/") - saveRDS(pak::pkg_deps("local::.", dependencies = TRUE), ".github/r-depends.rds") - shell: Rscript {0} - - - name: Cache R packages - uses: actions/cache@v2 - with: - path: ${{ env.R_LIBS_USER }} - key: ubuntu-18.04-${{ steps.install-r.outputs.installed-r-version }}-1-${{ hashFiles('.github/r-depends.rds') }} - restore-keys: ubuntu-18.04-${{ steps.install-r.outputs.installed-r-version }}-1- - - - name: Install system dependencies - if: runner.os == 'Linux' - run: | - pak::local_system_requirements(execute = TRUE) - pak::pkg_system_requirements("pkgdown", execute = TRUE) - shell: Rscript {0} + # - name: Install system dependencies + # if: runner.os == 'Linux' + # run: | + # pak::local_system_requirements(execute = TRUE) + # pak::pkg_system_requirements("pkgdown", execute = TRUE) + # shell: Rscript {0} - name: Install dependencies run: | - pak::local_install_dev_deps(upgrade = TRUE) + install.packages("pak", repos = "https://r-lib.github.io/p/pak/dev/") pak::pkg_install("r-lib/pkgdown") + pak::pkg_install("microsoft/finnts") + shell: Rscript {0} - name: Install package