Skip to content

Using subsets of features in the prognostic and treatment forests in BCF #36

Using subsets of features in the prognostic and treatment forests in BCF

Using subsets of features in the prognostic and treatment forests in BCF #36

Workflow file for this run

# 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]
pull_request:
branches: [main]
release:
types: [published]
workflow_dispatch:
name: R Package Unit Tests
jobs:
testing:
name: test-r
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::testthat, any::decor
- name: Run unit tests
run: |
Rscript cran-bootstrap.R
Rscript -e 'testthat::test_local("stochtree_cran")'