This commit is contained in:
Mike Tokic 2021-09-09 15:56:10 -07:00
Родитель 3b463843a1
Коммит b2b5de0a3d
1 изменённых файлов: 9 добавлений и 22 удалений

31
.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