Skip to content

Commit 81c058f

Browse files
list all envs
1 parent d5eb511 commit 81c058f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

R/install.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ install_impl <- function() {
6262

6363
stop(
6464
"For debugging: these are files next to python executable ",
65-
call_and_capture("conda", c("info", "--base"))
65+
paste0(
66+
jsonlite::fromJSON(call_and_capture("conda", c("env", "list", "--json"))$stdout)$envs,
67+
collapse = ", "
68+
)
6669
)
6770
}
6871

0 commit comments

Comments
 (0)