R/report_templates.R

Defines functions rancho_project_report

Documented in rancho_project_report rancho_project_report

#' Custom PDF format for Rancho Project Reporting
#'
#' @return a pdf report generated from pandoc
#' @export
rancho_project_report <- function(){

  # get the locations of resource files located within the package
  template    <- system.file("extdata/rancho_project_report.latex", package = "toolboxR")

  # call the base html_document function
  rmarkdown::pdf_document(
    fig_width  = 6.5,
    fig_height = 4,
    template   = "/home/parallels/R/x86_64-pc-linux-gnu-library/3.3/toolboxR/extdata/rancho_project_report.latex")
}
dkrozelle/toolboxR documentation built on Sept. 22, 2018, 11:45 p.m.