Skip to content

Commit

Permalink
fix access rights to dir_create
Browse files Browse the repository at this point in the history
  • Loading branch information
sigven committed Jun 14, 2024
1 parent 86a1814 commit 7debe23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcgrr/R/main.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7debe23

Please sign in to comment.