any_list {quickcheck} | R Documentation |
Any list generator
Description
Generate lists containing lists or atomic vectors.
Usage
any_list(len = c(1L, 10L), any_na = FALSE)
Arguments
len |
Length of the generated vectors. If |
any_na |
Whether |
Value
A quickcheck_generator
object.
Examples
any_list() %>% show_example()
any_list(len = 10L, any_na = TRUE) %>% show_example()
[Package quickcheck version 0.1.3 Index]