to work with beamer, call to render w/o pdf_document()
This commit is contained in:
parent
e24c51c1ee
commit
87a0d48c2e
2
make.R
2
make.R
@ -15,7 +15,7 @@ if (length(args) == 0) {
|
|||||||
for (rmd in commandArgs(trailingOnly = TRUE)) {
|
for (rmd in commandArgs(trailingOnly = TRUE)) {
|
||||||
# render Rmd to PDF
|
# render Rmd to PDF
|
||||||
if ( grepl("\\.Rmd$", rmd) && file.exists(rmd)) {
|
if ( grepl("\\.Rmd$", rmd) && file.exists(rmd)) {
|
||||||
render(rmd, pdf_document())
|
render(rmd)
|
||||||
} else {
|
} else {
|
||||||
print(paste("Ignoring: ", rmd))
|
print(paste("Ignoring: ", rmd))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user