dang: Fix errors in the last command in the history.

Description Usage Arguments Examples

Description

Call with one unnamed argument to replace the old calling function with the new argument. Call with one or more named arguments to replace or inject new arguments into the last call.

Usage

1

Arguments

...

Either a single unnamed argument or a series of named arguments.

Examples

1
2
3
4
5
6
pritn("Hello world!")
# Error: could not find function "pritn"
dang(print)

sample(letters, size = 26, replace = FALSE)
dang(replace = TRUE)

DexGroves/dang documentation built on May 6, 2019, 2:12 p.m.