Skip to content

Commit

Permalink
Bundle missing Rlogo-5 for issue toc building
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchelloharawild committed Jan 9, 2025
1 parent 071196e commit c0b118e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion R/rj_pdf_issue.R
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,12 @@ rjournal_pdf_issue <- function(..., render_all = FALSE) {
toc_file <- file.path(tempdir(), "toc.md")
)
file.copy(
list.files(system.file("tex", package = "rjtools"), full.names = TRUE),
c(
# Style files
list.files(system.file("tex", package = "rjtools"), full.names = TRUE),
# R Logo
system.file("Rlogo-5.png", package = "rjtools")
),
dirname(toc_file)
)
rmarkdown::pandoc_convert(
Expand Down
Binary file added inst/Rlogo-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c0b118e

Please sign in to comment.