Skip to content

Merge branch 'testing-actions' of github.com:sterrettJD/HoMiStats int… #25

Merge branch 'testing-actions' of github.com:sterrettJD/HoMiStats int…

Merge branch 'testing-actions' of github.com:sterrettJD/HoMiStats int… #25

Workflow file for this run

name: document
on:
push:
branches: [ "testing-actions" ]
permissions:
contents: write
jobs:
document:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgsl-dev
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::roxygen2
needs: pr-document
# - name: Specific Rfast dependency
# run: |
# install.packages("remotes")
# remotes::install_version("Rfast", version = "2.0.8")
# print(.libPaths()) # Debugging
# installed_pkgs <- installed.packages()[, "Package"]
# print(installed_pkgs) # Debugging
# shell: Rscript {0}
- name: Document
run: |
roxygen2::roxygenise()
shell: Rscript {0}
- name: commit
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "[email protected]"
git add man/\* NAMESPACE
git diff --staged --quiet || git commit -m 'Automatic documentation'
git pull --ff-only
git push origin