add roxygen2 to workflow (#12880)

This commit is contained in:
William Cheng
2022-07-16 16:33:23 +08:00
committed by GitHub
parent 5fb40e571e
commit ed6280b0f7
2 changed files with 14 additions and 0 deletions

View File

@@ -23,4 +23,11 @@ jobs:
with:
extra-packages: any::rcmdcheck
needs: check
- name: Install roxygen2
run: install.packages("roxygen2")
shell: Rscript {0}
- name: Roxygenize
run: |
roxygen2::roxygenize('.', roclets = c('rd', 'collate', 'namespace'))
shell: Rscript {0}
- uses: r-lib/actions/check-r-package@v2

View File

@@ -23,4 +23,11 @@ jobs:
with:
extra-packages: any::rcmdcheck
needs: check
- name: Install roxygen2
run: install.packages("roxygen2")
shell: Rscript {0}
- name: Roxygenize
run: |
roxygen2::roxygenize('.', roclets = c('rd', 'collate', 'namespace'))
shell: Rscript {0}
- uses: r-lib/actions/check-r-package@v2