From 7debe23f910b5a189856758a327173d3927ff6dd Mon Sep 17 00:00:00 2001 From: Sigve Nakken Date: Fri, 14 Jun 2024 18:29:06 +0200 Subject: [PATCH] fix access rights to dir_create --- pcgrr/R/main.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcgrr/R/main.R b/pcgrr/R/main.R index a4110f99..d48d4fbe 100644 --- a/pcgrr/R/main.R +++ b/pcgrr/R/main.R @@ -930,7 +930,7 @@ write_report_quarto_html <- function(report = NULL){ output_dir, paste0('quarto_', stringi::stri_rand_strings(1, 15)) ) - fs::dir_create(tmp_quarto_dir) + fs::dir_create(tmp_quarto_dir, "u=rwx,go=rwx") # files get copied under tmp/templates/ fs::dir_copy(pcgr_rep_template_path, tmp_quarto_dir) # so now overwrite the variable