I'm trying to run some scripts through Rscrip.exe on Windows but everytime the script generates a warning (like if a library is compiled in a different version) the Execution halts. Is there a way to get Rscript to simply print the warning and continue? Most of the time the warnings are completely unimportant and I would really like the script to run to completion for once. I've tried various 'warn' levels, as well as wrapping the offending functions within TryCatch, but to no avail. I'm currently running with the following flags:
Rscript.exe --verbose --no-save --no-restore
Yet, I'm simply getting the cryptic 'Execution halted' message.
Any help you can provide would be greatly appreciated!