input_folder <- system.file(
"extdata",
"ExampleTexDocuments",
package = "TexExamRandomizer")
TexExamRandomizer::CompileLatexDir(
pdf.dir.out = tempdir(),
engine= "pdf",
latex.dir.in = input_folder,
extracmdoptions = "-C")
# The "-C" option makes sure we simulate we use the command, but the command
# doesnt run compiling the document, it only tries to clean up
Run the code above in your browser using DataLab