Skip to content

Commit

Permalink
Adding code for installing miniConda.
Browse files Browse the repository at this point in the history
  • Loading branch information
schuemie committed Mar 28, 2024
1 parent d8ede45 commit 895f0ea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Binary file added extras/Releasing/Dependencies.rds
Binary file not shown.
2 changes: 1 addition & 1 deletion extras/Releasing/RunCheckOnAllHadesPackages.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ saveRDS(prepareForPackageCheck(), "Dependencies.rds")
dependencies <- readRDS("Dependencies.rds")
# Skipping Hydra, as renv seems to clash with skeleton renv environments:
dependencies <- dependencies[dependencies$name != "Hydra", ]
for (i in 4:nrow(dependencies)) {
for (i in 1:nrow(dependencies)) {
if (dependencies$name[i] == "PatientLevelPrediction") {
# Temp workaround for https://github.com/OHDSI/PatientLevelPrediction/issues/435
additionalCheckArgs <- c("--no-build-vignettes", "--ignore-vignettes")
Expand Down
5 changes: 5 additions & 0 deletions extras/Releasing/SetupPython.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,8 @@ reticulate::py_install("torch")
# Error in py_module_import(module, convert = convert) :
# TypeError: the first argument must be callable

# PatientLevelPrediction requires Anaconda to be installed ---------------------
reticulate::install_miniconda()
# Test:
reticulate::conda_binary()

0 comments on commit 895f0ea

Please sign in to comment.