File tree Expand file tree Collapse file tree 3 files changed +37
-0
lines changed Expand file tree Collapse file tree 3 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 73
73
pak::pkg_install("rcmdcheck")
74
74
shell : Rscript {0}
75
75
76
+ - name : Install Miniconda
77
+ run : |
78
+ Rscript -e "pak::pkg_install('rstudio/reticulate')"
79
+ Rscript -e "reticulate::install_miniconda()"
80
+
81
+ - name : Find Miniconda on macOS
82
+ if : runner.os == 'macOS'
83
+ run : echo "options(reticulate.conda_binary = reticulate:::miniconda_conda())" >> .Rprofile
84
+
85
+ - name : Install TensorFlow
86
+ run : |
87
+ reticulate::conda_create('r-reticulate', packages = c('python==3.6.9'))
88
+ tensorflow::install_tensorflow(version='1.14.0')
89
+ shell : Rscript {0}
90
+
76
91
- name : Session info
77
92
run : |
78
93
options(width = 100)
Original file line number Diff line number Diff line change 21
21
22
22
- uses : r-lib/actions/setup-pandoc@v1
23
23
24
+ - name : System dependencies
25
+ run : brew install harfbuzz fribidi
26
+
24
27
- name : Install pak and query dependencies
25
28
run : |
26
29
install.packages("pak", repos = "https://r-lib.github.io/p/pak/dev/")
45
48
run : |
46
49
pak::local_install_dev_deps(upgrade = TRUE)
47
50
pak::pkg_install("pkgdown")
51
+ pak::pkg_install(dependencies = TRUE)
52
+ pak::pkg_install("tidyverse/tidytemplate")
53
+ pak::pkg_install("tidymodels")
54
+ pak::pkg_install("C50")
48
55
shell : Rscript {0}
49
56
50
57
- name : Install package
Original file line number Diff line number Diff line change 49
49
pak::pkg_install("covr")
50
50
shell : Rscript {0}
51
51
52
+ - name : Install Miniconda
53
+ run : |
54
+ Rscript -e "pak::pkg_install('rstudio/reticulate')"
55
+ Rscript -e "reticulate::install_miniconda()"
56
+
57
+ - name : Find Miniconda on macOS
58
+ if : runner.os == 'macOS'
59
+ run : echo "options(reticulate.conda_binary = reticulate:::miniconda_conda())" >> .Rprofile
60
+
61
+ - name : Install TensorFlow
62
+ run : |
63
+ reticulate::conda_create('r-reticulate', packages = c('python==3.6.9'))
64
+ tensorflow::install_tensorflow(version='1.14.0')
65
+ shell : Rscript {0}
66
+
52
67
- name : Test coverage
53
68
run : covr::codecov()
54
69
shell : Rscript {0}
You can’t perform that action at this time.
0 commit comments