@@ -15,11 +15,13 @@ jobs:
15
15
fail-fast : false
16
16
matrix :
17
17
config :
18
- - { os: windows-latest, r: '3.6'}
19
- - { os: windows-latest, r: '4.0'}
20
- - { os: windows-latest, r: 'devel'}
21
- - { os: ubuntu-16.04, r: '3.5', cran: "https://demo.rstudiopm.com/all/__linux__/xenial/latest"}
22
- - { os: ubuntu-16.04, r: '3.6', cran: "https://demo.rstudiopm.com/all/__linux__/xenial/latest"}
18
+ - {os: macOS-latest, r: 'devel'}
19
+ - {os: macOS-latest, r: 'release'}
20
+ - {os: windows-latest, r: 'release'}
21
+ - {os: windows-latest, r: '3.6'}
22
+ - {os: ubuntu-16.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
23
+ - {os: ubuntu-16.04, r: 'oldrel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
24
+ - {os: ubuntu-16.04, r: '3.5', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
23
25
24
26
env :
25
27
R_REMOTES_NO_ERRORS_FROM_WARNINGS : true
@@ -65,11 +67,20 @@ jobs:
65
67
remotes::install_cran("rcmdcheck")
66
68
shell : Rscript {0}
67
69
68
- - name : Install TensorFlow
70
+ - name : Install Miniconda
69
71
run : |
72
+ Rscript -e "remotes::install_github('rstudio/reticulate')"
70
73
Rscript -e "reticulate::install_miniconda()"
71
- Rscript -e "reticulate::conda_create('r-reticulate', packages = 'python==3.6.9')"
72
- Rscript -e "tensorflow::install_tensorflow(version='1.14.0')"
74
+
75
+ - name : Find Miniconda on macOS
76
+ if : runner.os == 'macOS'
77
+ run : echo "options(reticulate.conda_binary = reticulate:::miniconda_conda())" >> .Rprofile
78
+
79
+ - name : Install TensorFlow
80
+ run : |
81
+ reticulate::conda_create('r-reticulate', packages = c('python==3.6.9'))
82
+ tensorflow::install_tensorflow(version='1.14.0')
83
+ shell : Rscript {0}
73
84
74
85
- name : Session info
75
86
run : |
0 commit comments