Skip to content

Commit

Permalink
Merge pull request #14 from andyquinterom/CRAN_FIXES
Browse files Browse the repository at this point in the history
Adds GitHub Workflow to test Pkgdown
  • Loading branch information
andyquinterom authored Jan 11, 2024
2 parents 49cf0dd + 4b55766 commit 5428e19
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,23 @@ jobs:
args: 'c("--no-manual", "--as-cran")'
error-on: '"error"'
check-dir: '"check"'
test_build_pkgdown:
name: Test build pkgdown
runs-on: ubuntu-latest
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:
extra-packages: any::pkgdown, local::.
needs: website

- name: Build site
run: pkgdown::build_site(new_process = FALSE, install = FALSE)
shell: Rscript {0}
4 changes: 4 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ reference:
- contents:
- sso_shiny_app
- token
- title: Utilities
desc: Convenience functions for the user.
- contents:
- use_futures
- title: S3 methods
- contents:
- print.access_token

0 comments on commit 5428e19

Please sign in to comment.