Skip to content

Commit 833f5ec

Browse files
use conda base
1 parent 8d8d226 commit 833f5ec

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
@@ -60,7 +60,10 @@ install_impl <- function() {
6060
reticulate::conda_install("r-precommit", packages = "pre-commit")
6161
# C:\Users\runneradmin\AppData\Local\r-miniconda\envs\r-precommit/python.exe
6262

63-
stop("For debugging: these are files next to python executable ", list.files(dirname(reticulate::conda_python("r-precommit")), pattern = "commit"))
63+
stop(
64+
"For debugging: these are files next to python executable ",
65+
call_and_capture("conda", c("info", "--base"))$stdout
66+
)
6467
}
6568

6669
#' Updates pre-commit on your system with conda

0 commit comments

Comments
 (0)