Skip to contents

This function is borrowed from ggplot2. It creates a "flag" object indicating that a value has been intentionally left blank (because it will be filled in by something else). Often, a function argument being missing or NULL will result in an error, while passing waiver() will cause the function to look elsewhere in the script for an acceptable value.

Usage

waiver()

Value

An empty list of class waiver.

References

H. Wickham. ggplot2: Elegant Graphics for Data Analysis. Springer-Verlag New York, 2016.

Examples

waiver()
#> list()
#> attr(,"class")
#> [1] "waiver"