-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skip needs to capture context #352
Comments
And then we need a standard way of extracting the file name and line number from |
Looks like the context is lost if str(tryCatch({
f <- function() stop("Hi!", call. = FALSE)
f()
}, error = function(e) {
e
}
)) |
The context is available e.g. in our capture_calls() function, even with
This would be also the way to go for #356: Simply call recover() in the calling handler (and use conditions for indicating test failues, #215 (comment)). |
@krlmlr ok, makes sense. |
I think we need something like:
The text was updated successfully, but these errors were encountered: