Skip to content

Commit 8d8d226

Browse files
hope to derive location of pre-commit with location of python
1 parent 04b2894 commit 8d8d226

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

R/install.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ install_impl <- function() {
5858
reticulate::conda_create("r-precommit", python_version = "3.10")
5959
}
6060
reticulate::conda_install("r-precommit", packages = "pre-commit")
61+
# C:\Users\runneradmin\AppData\Local\r-miniconda\envs\r-precommit/python.exe
62+
63+
stop("For debugging: these are files next to python executable ", list.files(dirname(reticulate::conda_python("r-precommit")), pattern = "commit"))
6164
}
6265

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

0 commit comments

Comments
 (0)