Re: [R] How deep into function calls does trycatch() work

2018-08-16 Thread Peter Langfelder
AFAIK a try or tryCatch will intercept the error thrown by stop(). Why not try it and see if it works? Peter On Thu, Aug 16, 2018 at 1:05 PM Roy Mendelssohn - NOAA Federal via R-help wrote: > > Hi All: > > I am using another package in a project I have. Because of that, I have no > control on h

[R] How deep into function calls does trycatch() work

2018-08-16 Thread Roy Mendelssohn - NOAA Federal via R-help
Hi All: I am using another package in a project I have. Because of that, I have no control on how that package behaves or what it returns. This package has a function foo() that calls httr::GET(), and if it gets an error from httr::GET() it calls the following routine: err_handle2 <- func