getPathTemplate {clinDataReview} | R Documentation |
Get path of template clinical data report
getPathTemplate(file, package = "clinDataReview")
file |
String with name of the template Rmd document |
package |
String, which package the template should be extracted from,
by default the |
String with path to the template in the installed clinDataReview
package
Laure Cougnaud
## Not run:
pathDivisionTemplate <- getPathTemplate("divisionTemplate.Rmd") # get path template in the package
file.copy(from = pathDivisionTemplate, to = ".") # copy to current directlory
rmarkdown::render(pathDivisionTemplate) # run file
## End(Not run)