powered by
Get AI-powered explanation and solution for R errors.
goose_explain_error(error = NULL, code = NULL, context = NULL)
List with explanation and suggested solutions
The error object or error message
Optional code that caused the error
Optional context about what you were trying to do
if (FALSE) { # Explain last error tryCatch({ data.frame(x = 1:3, y = 1:4) }, error = function(e) { explanation <- goose_explain_error(e) print(explanation) }) }
Run the code above in your browser using DataLab