Create build location for templated define documents
definetemplate(root = tempdir()) mrgtemplate(...)
| root | directory where the build will take place |
|---|---|
| ... | arguments passed to [definetemplate()] when [mrgtemplate()] is called |
The path to the build directory.
The following files will be copied into the
build directory: _output.yml, definetemplate.tex,
header.tex.
ans <- definetemplate() ans#> [1] "/tmp/RtmpfqdOTW/definetemplate"#> [1] "_output.yml" "header.tex"