Skip to content

adding models.RDS again #6

adding models.RDS again

adding models.RDS again #6

Workflow file for this run

name: model-install
on:
push:
branches: [ lfs ]
pull_request:
branches: [ lfs ]
jobs:
build:
runs-on: ${{ matrix.config.os }}
strategy:
matrix:
config:
- {os: windows-latest, r: 'release'}
permissions:
contents: write
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 https://github.com/allometric/allometric.git
- name: Install allometric, generate the models.RDS file.
run: |
devtools::install("./allometric");
devtools::load_all("./allometric");
models <- ingest_models(FALSE, pub_path = "./publications", params_path = "./parameters");
saveRDS(models, "./models.RDS")
shell: Rscript {0}
- uses: stefanzweifel/git-auto-commit-action@v5
with:
branch: lfs
commit_message: Updating models.RDS
file_pattern: '*.RDS'