Skip to content

Commit

Permalink
fix: python installation in CI (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebffischer authored Oct 11, 2023
1 parent a99df73 commit 7451e40
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/rcmdcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ jobs:
reticulate::install_miniconda()
reticulate::use_condaenv('r-reticulate')
install.packages('keras')
keras::install_keras(extra_packages = c('IPython', 'requests', 'certifi', 'urllib3', 'tensorflow-hub', 'tabnet'), method = "conda")
reticulate::py_install(c('pytorch', 'pycox'), method = "conda")
reticulate::py_install("numpy")
survivalmodels::install_pycox(pip = TRUE, install_torch = TRUE)
survivalmodels::install_keras(pip = TRUE, install_tensorflow = TRUE)
shell: Rscript {0}

- uses: r-lib/actions/check-r-package@v2

0 comments on commit 7451e40

Please sign in to comment.