Skip to content

fix: adding node package information #21

fix: adding node package information

fix: adding node package information #21

name: test-model-install
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.config.os }}
strategy:
matrix:
config:
- {os: windows-latest, r: 'release'}
steps:
- uses: actions/checkout@v3
- 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
- uses: r-lib/actions/setup-r-dependencies@v2
with:
needs: check
- name: Clone allometric/allometric.
run: |
git clone -b model_migration https://github.com/allometric/allometric.git
- name: Run install models test.
run: |
devtools::load_all("./allometric");
testthat::test_file("./allometric/tests/testthat/test-install.R")
shell: Rscript {0}