The function in the package that I use gives me not so informative errors. I do not know what's going on. This function is called the internal function of the function I am calling. Something like that:
myres <- the.func(x)
the.func <-function(x){
unexported.func(x)
}
How to debug unexported.func? Usage debugdoes not work:
>debug(unexported.func)
Error in debug(undexported.func) : object 'unexported.func' not found
Update:
I am currently nested in debugging, as shown below. But this is inconvenient for me:
>debug(the.func)
>myres <- the.func(x)
Browse[2]>debug(unexported.func)
source
share