checkException will validate if meeting a stop() call, but not a warning() call. Is there a workaround or hack to check for warnings? (and make them silent during testing)
thanks
checkException will validate if meeting a stop() call, but not a warning() call. Is there a workaround or hack to check for warnings? (and make them silent during testing)
thanks
Maybe you can simply use
> options(warn=2)
in the setup code to turn warnings into errors?
See help(options)
for the paragraph on this option.