to work with beamer, call to render w/o pdf_document()

This commit is contained in:
Pierre-Edouard Portier 2022-03-06 22:52:40 +01:00
parent e24c51c1ee
commit 87a0d48c2e
1 changed files with 1 additions and 1 deletions

2
make.R
View File

@ -15,7 +15,7 @@ if (length(args) == 0) {
for (rmd in commandArgs(trailingOnly = TRUE)) {
# render Rmd to PDF
if ( grepl("\\.Rmd$", rmd) && file.exists(rmd)) {
render(rmd, pdf_document())
render(rmd)
} else {
print(paste("Ignoring: ", rmd))
}