# \donttest{
pathDivisionTemplate <- getPathTemplate("divisionTemplate.Rmd") # get path template in the package
tmp <- file.copy(from = pathDivisionTemplate, to = tempdir()) # copy to temporary dir (for example)
params <- list(reportTitle = "Adverse events")
rmarkdown::render(file.path(tempdir(), basename(pathDivisionTemplate))) # run file
# }
Run the code above in your browser using DataLab