Returns File Path for Demo Project Template
template_demo_project(name = "demo-proj")
Arguments
- name
(Optional) name to specify the template file path. Defaults to
'demo-proj' template.
Value
Path to Template YAML file
Examples
cat(readLines(template_demo_project()), sep = "\n")
#> project:
#> name: templatr-demo
#> structure:
#> - README.md
#> - R:
#> - 01_import_data.R
#> - 02_clean_data.R
#> - data:
#> - sample.csv
#> - stan-files:
#> - reports:
#> git-ignore:
#> - "data"
#> - "R/01_import_data.R"