Skip to content

Commit

Permalink
Fix install_miniconda(force=T)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-kalinowski committed Sep 20, 2024
1 parent 4753612 commit 8a38c9a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/miniconda.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ install_miniconda <- function(path = miniconda_path(),
url <- miniconda_installer_url()
installer <- miniconda_installer_download(url)

if (force) {
# miniconda installer '-u' (update) flag frequently does not work, errors.
miniconda_uninstall(path)
}

# run the installer
miniconda_installer_run(installer, update, path)

Expand Down

0 comments on commit 8a38c9a

Please sign in to comment.