debugging - Error handling in R in RStudio -- don't invoke debugger? -


i'm trying create error messages similar can find in r package dplyr don't invoke rstudio's debugger , stop , print informative message.

so example in rstudio if use:

library(dplyr) group_by(blah)

you informative error debugger not invoked "interruption" user minimal, realize issue , fix code. when use

myfunc<-function(val){   if(val>3) stop("this error", call.=false) }  myfunc(4) 

the debugger triggered , it's more unpleasant. how give nice error message out starting debugger? difference in how dplyr creating error messages , mine? did @ github repo wasn't sure.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -