From 81377a16f209f54ba1530c52667252f3bddc65a8 Mon Sep 17 00:00:00 2001 From: Philipp Baumann Date: Fri, 20 Sep 2024 01:23:39 +0200 Subject: [PATCH] needs recursive to make path --- R/nix_hash.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/nix_hash.R b/R/nix_hash.R index b5e57394..08fe3e7e 100644 --- a/R/nix_hash.R +++ b/R/nix_hash.R @@ -39,7 +39,7 @@ hash_url <- function(url) { on.exit(unlink(tmpdir, recursive = TRUE, force = TRUE), add = TRUE) path_to_folder <- tempfile(pattern = "file", tmpdir = tmpdir, fileext = "") - dir.create(path_to_folder) + dir.create(path_to_folder, recursive = TRUE) on.exit( unlink(path_to_folder, recursive = TRUE, force = TRUE), add = TRUE