Skip to content

Removes twitter handle #15

Removes twitter handle

Removes twitter handle #15

# Runs without suggested packages as these must be handled conditionally
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
#name: R-CMD-check
jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
strategy:
fail-fast: false
matrix:
config:
- {os: macOS-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'release'}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
_R_CHECK_CRAN_INCOMING_: false
_R_CHECK_FORCE_SUGGESTS_: false
_R_CHECK_DEPENDS_ONLY_: true
steps:
- uses: actions/checkout@v3
# Always try to use the latest pandoc version
# https://github.com/jgm/pandoc/releases
- uses: r-lib/actions/setup-pandoc@v2
with:
pandoc-version: '3.1.2'
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true
# TODO: Check which of the ignore conditions are still relevant given the
# current suggested dependencies and the minimum supported R version.
# Update if anything out of date or not needed anymore.
#
# Fails due to lack of rmarkdown
- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
cache: false
upgrade: '"TRUE"'
dependencies: '"hard"'
extra-packages: |
any::rcmdcheck
any::testthat
any::knitr
any::rmarkdown
any::xpectr
needs: check
# Don't error on "note" because if any of the suggested packages are not available
# for a given R version, this generates a NOTE causing unnecessary build failure
- uses: r-lib/actions/check-r-package@v2
with:
error-on: '"warning"'
upload-snapshots: true