Skip to content

Commit

Permalink
Removed file clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
robjhyndman committed Dec 20, 2022
1 parent 21f8d0e commit 731f4c7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions README.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ library(magick)
# Render template
quarto_render(input = "template.qmd")
# Clean up resource files
c(fs::dir_ls("_extensions/letter", glob = "*.png"),
fs::dir_ls("_extensions/letter", glob = "*.jpg")) |>
stringr::str_remove("_extensions/letter/") |>
fs::file_delete()
# Convert rendered PDF to PNG
image_read_pdf("template.pdf") |>
image_montage(geometry = "x2000+25+35", tile = "3", bg = "grey92", shadow = TRUE) |>
Expand Down

0 comments on commit 731f4c7

Please sign in to comment.