We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
utils::shortPathName
1 parent 18fe97e commit a56c309Copy full SHA for a56c309
R/py_require.R
@@ -564,10 +564,10 @@ uv_binary <- function(bootstrap_install = TRUE) {
564
565
if (is_windows()) {
566
567
- withr::with_envvar(c("UV_UNMANAGED_INSTALL" = shortPathName(dirname(uv))), {
+ withr::with_envvar(c("UV_UNMANAGED_INSTALL" = utils::shortPathName(dirname(uv))), {
568
system2("powershell", c(
569
"-ExecutionPolicy", "ByPass", "-c",
570
- sprintf("irm %s | iex", shortPathName(install_uv))),
+ sprintf("irm %s | iex", utils::shortPathName(install_uv))),
571
stdout = if (debug) "" else FALSE,
572
stderr = if (debug) "" else FALSE
573
)
0 commit comments