1
1
mirror of https://github.com/foxsen/archbase.git synced 2026-02-11 14:15:54 +08:00

use setup-renv action to speedup the installation of r libraries

This commit is contained in:
Zhang Fuxin
2021-10-28 07:28:20 +08:00
parent a2fded1831
commit b5a5937512
2 changed files with 383 additions and 2 deletions

View File

@@ -13,8 +13,9 @@ jobs:
- uses: actions/checkout@v1
- uses: r-lib/actions/setup-r@v1
- uses: r-lib/actions/setup-pandoc@v1
- name: Install rmarkdown
run: Rscript -e 'install.packages(c("rmarkdown","bookdown", "dplyr","knitr","flextable", "readr", "ftExtra","officer"))'
- uses: r-lib/actions/setup-renv@v1
with:
cache-version:1
- name: Render Book
run: make
- uses: actions/upload-artifact@v1