Skip to content

Use incidence2 + MASS directly instead of i2extras #52

Use incidence2 + MASS directly instead of i2extras

Use incidence2 + MASS directly instead of i2extras #52

Workflow file for this run

# 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:
workflow_dispatch:
pull_request:
branches: [main, master]
paths:
- 'inst/rmarkdown/templates/**'
name: test reports
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-reports:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
# it would be good to automatically identify system dependencies in the future
extra-packages: |
local::.
sodium,
curl
- name: Test report rendering
run: |
library(episoap)
for (tp in list_templates()) {
rmarkdown::render(
system.file("rmarkdown", "templates", tp, "skeleton", "skeleton.Rmd",
package = "episoap"
),
output_file = tempfile(),
quiet = TRUE
)
}
shell: Rscript {0}