Skip to content

Commit

Permalink
Merge pull request #1608 from AlexandreGuinaudeau/patch-1
Browse files Browse the repository at this point in the history
Support non-conda binaries
  • Loading branch information
t-kalinowski committed May 13, 2024
2 parents cf6aeda + 691d125 commit 7ed6ab0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

- `virtualenv_starter()` no longer warns when encountering broken symlinks (#1598).

- Fixed issue where a configured `mamba` binary was overriden with `conda` (#1608).

# reticulate 1.36.1

- Fix issue where `py_to_r()` method for Pandas DataFrames would error
Expand Down
2 changes: 1 addition & 1 deletion R/conda.R
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ conda_binary <- function(conda = "auto") {
# we rely on other tools typically bundled in the 'bin' folder
# https://github.com/rstudio/keras/issues/691
if (!is_windows()) {
altpath <- file.path(dirname(conda), "../bin/conda")
altpath <- file.path(dirname(conda), "../bin", basename(conda))
if (file.exists(altpath))
return(normalizePath(altpath, winslash = "/", mustWork = TRUE))
} else {
Expand Down

0 comments on commit 7ed6ab0

Please sign in to comment.