I have a process which renders and saves multiple R markdown documents sequentially into a directory, using rmarkdown::render(template_file, output_file).
I'm finding that when the process goes over 100 rendered documents it stops with this message:
Warning: Error in tempfile: cannot find unused tempfile name
I suspect there is something in the knit/pandoc process relating to intermediate files that is causing this, but wondering if anyone else has come across an issue like this before?