flat_list_of {quickcheck} | R Documentation |
Variable length flat list generator
Description
Generate flat lists with all values coming from a single generator. In a flat list all items will be scalars.
Usage
flat_list_of(generator, len = c(1L, 10L))
Arguments
generator |
A |
len |
Length of the generated vectors. If |
Value
A quickcheck_generator
object.
Examples
flat_list_of(integer_(), len = 10L) %>% show_example()
[Package quickcheck version 0.1.3 Index]