r-lib / clock

A Date-Time Library for R
https://clock.r-lib.org
Other
97 stars 4 forks source link

Pass the error call through to `abort()` and `warn()` #286

Closed DavisVaughan closed 1 year ago

DavisVaughan commented 2 years ago

Start in stop_clock() and work back from there, but there are many other places we call abort() too. In a few places we also go through C++ and then call back to R to throw the error, so we need to pass the call all the way through.

And use https://github.com/r-lib/clock/pull/297