automatic_error_search | R Documentation |
When passed to 'options(error = automatic_error_search', the function will run every time R encounters an error. It will check whether you have made the common mistake of trying to subset a function ('closure'). If it is any other type of error, it will copy the error message and launch a Google search.
automatic_error_search()
This function is still being developed and tested and functionality may change. For example, I may decide to include a list of errors that do not trigger a Google search.
Nothing
Adapted from the code published in this Tweet https://twitter.com/RCoderWeb/status/1358474355492151297
## Not run: options(error = automatic_error_search) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.