From 5efa2e89b862fac09e5343d1485378c7cb9de838 Mon Sep 17 00:00:00 2001 From: andres Date: Thu, 11 Jan 2024 13:28:11 -0500 Subject: [PATCH 1/2] Adds GitHub Workflow to test Pkgdown --- .github/workflows/tests.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 723cfa9..76b87c2 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -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} From 4b55766556ea67a7041dff0a7019750d3533c209 Mon Sep 17 00:00:00 2001 From: andres Date: Thu, 11 Jan 2024 13:32:11 -0500 Subject: [PATCH 2/2] Adds convenience function sto _pkgdown --- _pkgdown.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/_pkgdown.yml b/_pkgdown.yml index 6aea505..51ebb0e 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -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