Skip to content

try new url for cycle gan #964

try new url for cycle gan

try new url for cycle gan #964

Workflow file for this run

on: [push, pull_request]
name: mac_os
jobs:
R-CMD:
runs-on: ${{ matrix.config.os }}
name: (fastai ${{ matrix.config.fastai }})
strategy:
fail-fast: false
matrix:
config:
- { os: macOS-latest, fastai: '2.2.1'}
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
PIP_NO_WARN_SCRIPT_LOCATION: false
FASTAI_VERSION: ${{ matrix.config.fastai }}
RETICULATE_AUTOCONFIGURE: 'FALSE'
CRAN: ${{ matrix.config.cran }}
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-r@v2
with:
r-version: '4.3.1'
- uses: r-lib/actions/setup-pandoc@v2
- name: Install dependencies if Linux
if: runner.os == 'Linux'
run: |
sudo apt-get install libxml2-dev
- name: Install 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.9')"
- 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 = '--no-manual', error_on = 'error', check_dir = 'check')"