Skip to content

Commit

Permalink
Update R/render_html.R
Browse files Browse the repository at this point in the history
Co-authored-by: ocaisa <alan.ocais@cecam.org>
  • Loading branch information
zkamvar and ocaisa authored Jun 15, 2023
1 parent b492209 commit 7a79de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/render_html.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ render_html <- function(path_in, ..., quiet = FALSE) {
# if we have links, we concatenate our input files
tmpin <- tempfile(fileext = ".md")
fs::file_copy(path_in, tmpin)
# if the file is not readable by the user, then we need to make it readable
# if the file is not writable by the user, then we need to make it writable
# https://github.com/carpentries/sandpaper/issues/479
fs::file_chmod(tmpin, "u+w")
cat("\n", file = tmpin, append = TRUE)
Expand Down

0 comments on commit 7a79de7

Please sign in to comment.