add more packages to install #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples | |
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | |
on: | |
push: | |
# branches: [main, dev] | |
paths-ignore: | |
- '**.md' # prevent md files (e.g., README.md) in any repo dir from trigering workflow | |
- 'LICENSE' | |
- '.gitignore' | |
- '.gitattributes' | |
name: Test factor build | |
jobs: | |
test-factors: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: r-lib/actions/setup-pandoc@v2 | |
- uses: r-lib/actions/setup-r@v2 | |
- name: Render Rmarkdown file | |
run: | | |
Rscript -e 'install.packages(c("knitr", "rmarkdown", "cli", "configr", "scales"))' | |
Rscript -e 'rmarkdown::render(input = "CalculateEmissionFactors.Rmd")' |