Skip to content

Merge branch 'main' of https://github.com/LukasWallrich/metaUI #46

Merge branch 'main' of https://github.com/LukasWallrich/metaUI

Merge branch 'main' of https://github.com/LukasWallrich/metaUI #46

Workflow file for this run

on:
push:
branches:
- main
- master
name: R-CMD-check
jobs:
document-and-dispatch:
name: document
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
r-version: 'release'
- name: Delete-Namespace
run: Rscript -e 'file.remove("NAMESPACE")'
- uses: r-lib/actions/setup-pandoc@v2
- name: system dependencies
run: sudo apt-get install libcurl4-openssl-dev libnode-dev
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck, any::roxygen2
needs: check
- name: Document
run: Rscript -e 'roxygen2::roxygenise()'
- name: commit
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git add -f man/\* NAMESPACE
git commit -m 'Documentation' || echo "No changes to commit"
git push origin || echo "No changes to commit"
- uses: r-lib/actions/check-r-package@v2