R/knit_pdfs.R

# This is NOT an exported function
# This is a script used in the Makefile command pdf
# to render all vignettes are pdfs and save them

to_knit <- list.files(pattern = "*.rmd$|*.Rmd$")
for(i in to_knit){
  rmarkdown::render(input = i,
                    output_format = "pdf_document",
                    params = list(show_code = FALSE),
                    output_dir = "pdf")
  }
victoria-ramirez/expanded_slf documentation built on July 1, 2020, 12:15 a.m.