Skip to content

Debugging rfast install #23

Debugging rfast install

Debugging rfast install #23

Workflow file for this run

name: document
on:
push:
branches: [ "main" ]
permissions:
contents: write
jobs:
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
- 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: |
library(Rfast) # Ensure it loads
roxygen2::roxygenise()
shell: Rscript {0}
- name: commit
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com"
git add man/\* NAMESPACE
git diff --staged --quiet || git commit -m 'Automatic documentation'
git pull --ff-only
git push origin