Provides output format to render PDF article for submission to Journal of Data Science.
pdf_article(..., cls = c("jdsart", "jds"))Optional named arguments passed to bookdown::pdf_book()
and rmarkdown::pdf_document() other than base_format.
The LaTeX class name. The available choices are jdsart for
the latest class developed by vtex, or jds for the deprecated
class.
if (interactive() && requireNamespace("rmarkdown", quietly = TRUE)) {
## draft from a sample R markdown file
jds.rmd::draft("jds-sample.Rmd")
## produce pdf with the tex source kept for submission
rmarkdown::render("jds-sample.Rmd")
}