Skip to content

Debugging Rcpp build 6 PAT. #53

Debugging Rcpp build 6 PAT.

Debugging Rcpp build 6 PAT. #53

Workflow file for this run

name: pkgdown
on: push
permissions:
contents: write
jobs:
main:
name: Build and publish website
runs-on: ubuntu-latest
timeout-minutes: 30
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install pandoc
uses: r-lib/actions/setup-pandoc@v2
- name: Install R
uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
r-version: 'release'
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libcurl4-openssl-dev libssl-dev libxml2-dev libgit2-dev
- name: Install renv
run: |
install.packages("renv")
shell: Rscript {0}
- name: Restore renv environment
run: |
renv::restore()
shell: Rscript {0}
- name: Install additional packages
run: |
renv::install(c("pkgdown", "rcmdcheck"))
renv::install("dereckmezquita/kucoin")
shell: Rscript {0}
- name: Configure git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Build package
run: |
R CMD build .
- name: Check package
run: |
R CMD check --no-manual --no-tests --no-examples --no-codoc --no-vignettes --no-build-vignettes *tar.gz
- name: Show check results
if: always()
run: |
find . -name "00check.log" -exec cat {} \;
find . -name "00install.out" -exec cat {} \;
- name: Deploy to branch
if: success()
shell: Rscript {0}
run: pkgdown::deploy_to_branch(branch = "bot/github-pages")