Generate any R object. This doesn't actually generate any possible object,
just the most common ones, namely atomic vectors, lists, data.frames,
tibbles, data.tables, and undefined values like NA
, NULL
, Inf
, and
NaN
.
Arguments
- any_empty
Whether empty vectors or data frames should be allowed.
- any_undefined
Whether undefined values should be allowed.
Examples
anything() %>% show_example()
#> data frame with 0 columns and 0 rows