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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View File

@ -23,4 +23,11 @@ jobs:
with: with:
extra-packages: any::rcmdcheck extra-packages: any::rcmdcheck
needs: check 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 - uses: r-lib/actions/check-r-package@v2

View File

@ -23,4 +23,11 @@ jobs:
with: with:
extra-packages: any::rcmdcheck extra-packages: any::rcmdcheck
needs: check 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 - uses: r-lib/actions/check-r-package@v2