Skip to content

Commit

Permalink
needs recursive to make path
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp-baumann committed Sep 19, 2024
1 parent 525b007 commit 81377a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/nix_hash.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 81377a1

Please sign in to comment.