We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e5e9fd0 + 24cd0fd commit 85be771Copy full SHA for 85be771
R/py_require.R
@@ -678,7 +678,9 @@ uv_binary <- function(bootstrap_install = TRUE) {
678
}
679
680
681
- if (file.exists(uv)) uv else NULL # print visible
+ # if we bootstrap-installed successfully, return the path to the uv binary
682
+ # if not, reset `uv` for the on.exit() hook and return NULL visibly
683
+ if (file.exists(uv)) uv else (uv <- NULL)
684
685
686
uv_get_or_create_env <- function(packages = py_reqs_get("packages"),
0 commit comments