View source: R/errors_warnings.r
This is a helper function that returns the last produced warning message in R, which is intended to be used within any of the search functions of the websearchr package. It adds the keyword "R" to the beginning for improved accuracy of search results.
1 |
1 2 3 4 5 6 7 8 | ## Not run:
# Create example warning
warning("Example warning")
# Query last warning message
last_warning()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.