When running in a multi-threaded mode (eg. using future package), any error files get botched if more than one thread throws an error at a time as the file names become non-unique.
Consider adding thread handling or add a process ID to filename (or append milliseconds and use a file exists loop which by its nature will change the filename by a few millis and thus make filenames unique)
When running in a multi-threaded mode (eg. using future package), any error files get botched if more than one thread throws an error at a time as the file names become non-unique.
Consider adding thread handling or add a process ID to filename (or append milliseconds and use a file exists loop which by its nature will change the filename by a few millis and thus make filenames unique)