Skip to content

site

site #627

on: [push, pull_request]
name: windows_no_fastai
jobs:
R-CMD:
runs-on: ${{ matrix.config.os }}
name: (fastai ${{ matrix.config.fastai }})
strategy:
fail-fast: false
matrix:
config:
- { os: windows-latest, fastai: '2.2.1'}
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
PIP_NO_WARN_SCRIPT_LOCATION: false
FASTAI_VERSION: ${{ matrix.config.fastai2 }}
RETICULATE_AUTOCONFIGURE: 'FALSE'
CRAN: ${{ matrix.config.cran }}
steps:
- uses: actions/checkout@v1
- uses: r-lib/actions/setup-r@v1
- uses: r-lib/actions/setup-pandoc@v1
- name: Install MacOS/Windows/Linux
run: |
Rscript -e "install.packages('remotes')"
Rscript -e "remotes::install_deps(dependencies = TRUE)"
Rscript -e "remotes::install_cran('rcmdcheck')"
- name: Install Python
run: |
Rscript -e "install.packages('reticulate')"
Rscript -e "try(reticulate::install_miniconda())"
Rscript -e "reticulate::conda_create('r-reticulate', python_version = '3.8')"
- name: Install fastai
run: |
Rscript -e "remotes::install_local()"
Rscript -e "fastai::install_fastai()"
- name: Check
continue-on-error: ${{ matrix.config.allow_failure }}
run: Rscript -e "rcmdcheck::rcmdcheck(args = c('--no-manual'), error_on = 'error', check_dir = 'check')"