Skip to content

Commit 99e8f32

Browse files
committed
updates with extras
1 parent 4ba23db commit 99e8f32

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,21 @@ jobs:
7373
pak::pkg_install("rcmdcheck")
7474
shell: Rscript {0}
7575

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+
7691
- name: Session info
7792
run: |
7893
options(width = 100)

.github/workflows/pkgdown.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121

2222
- uses: r-lib/actions/setup-pandoc@v1
2323

24+
- name: System dependencies
25+
run: brew install harfbuzz fribidi
26+
2427
- name: Install pak and query dependencies
2528
run: |
2629
install.packages("pak", repos = "https://r-lib.github.io/p/pak/dev/")
@@ -45,6 +48,10 @@ jobs:
4548
run: |
4649
pak::local_install_dev_deps(upgrade = TRUE)
4750
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")
4855
shell: Rscript {0}
4956

5057
- name: Install package

.github/workflows/test-coverage.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,21 @@ jobs:
4949
pak::pkg_install("covr")
5050
shell: Rscript {0}
5151

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+
5267
- name: Test coverage
5368
run: covr::codecov()
5469
shell: Rscript {0}

0 commit comments

Comments
 (0)