knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

{duck}

Overview

{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.

Installation

You can install:

# install.packages("remotes")
remotes::install_github("nathaneastwood/duck")


nathaneastwood/duck documentation built on March 7, 2021, 12:17 a.m.