{duck} replaces your informative error messages with something a little less informative. Once installed, you simply need to call the function and then all errors will be replaced.
duck::duck()
goose
# Error: duck
If you’re grandma isn’t watching and you’d like your errors to be a bit more…sweary, try the following setting.
duck::duck(polite = FALSE)
Try adding duck::duck(polite = FALSE)
to a friend’s .Rprofile
today.
You can install:
# install.packages("remotes")
remotes::install_github("nathaneastwood/duck")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.