Create build location for templated define documents
definetemplate(root = tempdir())
mrgtemplate(...)
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] "/private/var/folders/zv/v6tkdhrn1_bb1ndrc0c0j31w0000gp/T/Rtmppzcf8C/definetemplate"
list.files(ans)
#> [1] "_output.yml" "header.tex"