Minor refactor of R error handling code
1 file changed