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] "/tmp/Rtmp5uRAGN/definetemplate"

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