File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -70,16 +70,22 @@ jobs:
7070 remotes::install_cran("rcmdcheck")
7171 shell : Rscript {0}
7272
73- - name : Set Miniconda path
74- if : runner.os == 'MacOS '
73+ - name : Create Miniconda on macOS and Ubuntu
74+ if : runner.os != 'Windows '
7575 env :
7676 RETICULATE_MINICONDA_PATH : ' miniconda/'
77+ run : |
78+ Rscript -e "reticulate::install_miniconda()"
79+ Rscript -e "reticulate::conda_create('r-reticulate', packages = 'python==3.6.9', conda = 'miniconda/bin/conda')"
7780
78- - name : Install TensorFlow
81+ - name : Create Miniconda on Windows
82+ if : runner.os == 'Windows'
7983 run : |
8084 Rscript -e "reticulate::install_miniconda()"
8185 Rscript -e "reticulate::conda_create('r-reticulate', packages = 'python==3.6.9')"
82- Rscript -e "tensorflow::install_tensorflow(version='1.14.0')"
86+
87+ - name : Install TensorFlow
88+ run : Rscript -e "tensorflow::install_tensorflow(version='1.14.0')"
8389
8490 - name : Session info
8591 run : |
Original file line number Diff line number Diff line change 4545 - name : Install TensorFlow
4646 run : |
4747 Rscript -e "reticulate::install_miniconda()"
48- Rscript -e "reticulate::conda_create('r-reticulate', packages = 'python==3.6.9')"
48+ Rscript -e "reticulate::conda_create('r-reticulate', packages = 'python==3.6.9', conda = 'miniconda/bin/conda' )"
4949 Rscript -e "tensorflow::install_tensorflow(version='1.14.0')"
5050
5151 - name : Test coverage
You can’t perform that action at this time.
0 commit comments