From 8ba4be60331d12c5c0706e95c6d83193fc98eed0 Mon Sep 17 00:00:00 2001 From: Sean Anderson Date: Wed, 18 Oct 2023 15:31:40 -0700 Subject: [PATCH] HTML-5 check tweak --- .github/workflows/R-CMD-check-HTML5.yaml | 28 +++++++++++++----------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/.github/workflows/R-CMD-check-HTML5.yaml b/.github/workflows/R-CMD-check-HTML5.yaml index 83753df03..569defdb5 100644 --- a/.github/workflows/R-CMD-check-HTML5.yaml +++ b/.github/workflows/R-CMD-check-HTML5.yaml @@ -6,23 +6,16 @@ on: pull_request: branches: [main, master] -name: R-CMD-check-HTML5 +name: HTML5 check jobs: - R-CMD-check: + HTML5-check: runs-on: ubuntu-latest env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} R_KEEP_PKG_SOURCE: yes - _R_CHECK_RD_VALIDATE_RD2HTML_: TRUE steps: - - uses: actions/checkout@v2 - - - name: Install pdflatex - run: sudo apt-get install texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra - - - name: Install tidy - run: sudo apt install tidy + - uses: actions/checkout@v3 - uses: r-lib/actions/setup-r@v2 with: @@ -33,10 +26,19 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: extra-packages: any::rcmdcheck - needs: check + dependencies: 'character()' + + - name: Install pdflatex + run: sudo apt-get install texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra + + - name: Install tidy + run: sudo apt install tidy - uses: r-lib/actions/check-r-package@v2 with: - args: '"--as-cran"' - build_args: 'character()' + args: 'c("--as-cran", "--no-codoc", "--no-examples", "--no-tests", "--no-vignettes", "--no-build-vignettes", "--ignore-vignettes", "--no-install")' + build_args: 'c("--no-build-vignettes")' error-on: '"note"' + env: + _R_CHECK_CRAN_INCOMING_REMOTE_: false + _R_CHECK_CRAN_INCOMING_: false