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] "/tmp/Rtmp5uRAGN/definetemplate"
list.files(ans)
#> [1] "_output.yml" "header.tex"