Hi all, I am trying to debug an error of a function g defined and used inside 
another function f of a package.
So I have

f <- function(whatever){
   ...
   g <- function(whatever2){
     ...
   }
   ...
}

If I wanted to debug some thing directly inside f I would do debug(f). But this 
does not go inside g code. On the other hand, debug(g) does not work as g is 
not a defined function in the namespace of the package.

Is there some way to debug errors inside g?

Thank you in advance.

All the best,
Iago

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to