gen.run: Run a generator

Description Usage Arguments Details

View source: R/gen.R

Description

Samples from a generator or list of generators producing a (single) lazy rose tree.

Usage

1
gen.run(generator, size)

Arguments

generator

A generator

size

The size parameter passed to the generation functions

Details

This is different to calling generarator$unGen(size) in that it also works on (nested) lists of generators and pure values.


hedgehogqa/r-hedgehog documentation built on July 18, 2021, 5 a.m.