Create build location for templated define documents

definetemplate(root = tempdir())

mrgtemplate(...)

Arguments

root

directory where the build will take place

...

arguments passed to [definetemplate()] when [mrgtemplate()] is called

Value

The path to the build directory.

Details

The following files will be copied into the build directory: _output.yml, definetemplate.tex, header.tex.

Examples


ans <- definetemplate()

ans
#> [1] "/private/var/folders/zv/v6tkdhrn1_bb1ndrc0c0j31w0000gp/T/Rtmppzcf8C/definetemplate"

list.files(ans)
#> [1] "_output.yml" "header.tex"