Learn R Programming

quickcheck (version 0.1.3)

list_: List generator

Description

Generate lists with contents corresponding to the values generated by the input generators.

Usage

list_(...)

Value

A quickcheck_generator object.

Arguments

...

A set of named or unnamed generators.

Examples

Run this code
list_(integer_(), logical_()) %>% show_example()
list_(a = any_vector(), b = any_vector()) %>% show_example()

Run the code above in your browser using DataLab