getPathTemplate: Get path of template clinical data report

Description Usage Arguments Value Author(s) Examples

View source: R/reporting-templates.R

Description

Get path of template clinical data report

Usage

1
getPathTemplate(file, package = "clinDataReview")

Arguments

file

String with name of the template Rmd document

package

String, which package the template should be extracted from, by default the clinDataReview package.

Value

String with path to the template in the installed clinDataReview package

Author(s)

Laure Cougnaud

Examples

1
2
3
4
5
6
## 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)

clinDataReview documentation built on July 14, 2021, 5:08 p.m.