diff --git a/R/deploy.R b/R/deploy.R index 2afd0022..df893a3f 100644 --- a/R/deploy.R +++ b/R/deploy.R @@ -117,7 +117,7 @@ deploy_minicran_package <- function(drat_repo, } clone_drat_dir <- function(drat_repo) { - path <- paste0(tempdir(), "/drat") + path <- tempfile() cli::cli_alert("Attempting to create a temporary git clone of {.url {drat_repo}}. Your password might be needed for authentication.", wrap = TRUE)