Skip to contents

This behaves exactly like rmarkdown::pdf_document() except it creates an R package.


litr_pdf_document(minimal_eval = FALSE, ...)



If TRUE, then only chunks with litr::document() or usethis commands will be evaluated. This can be convenient in coding when you just want to quickly update the R package without having to wait for long evaluations to occur.


Parameters to be passed to rmarkdown::pdf_document()