Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,9 @@ jobs:
- name: Install vignette builder
run: Rscript -e 'if (!requireNamespace("simplermarkdown", quietly = TRUE)) install.packages("simplermarkdown")'

# Build and check explicitly rather than ./run.sh run_tests: r-ci's
# run_tests passes --no-build-vignettes, which leaves inst/doc empty
# and makes R CMD check warn about the orphaned vignettes/ directory.
# We want the vignette built and its code run as part of the check.
- name: Build
run: R CMD build .

- name: Check
run: R CMD check rotio_*.tar.gz --no-manual --as-cran --install-args=--install-tests
# Alter build and check args to exclude --no-build-vignettes
- name: Test
run: ./run.sh run_tests
env:
R_BUILD_ARGS: "--no-manual"
R_CHECK_ARGS: "--no-manual --as-cran"
Loading