Function reference
Numeric
A set of generators to produce numeric vectors. A numeric vector will be an integer or a double vector.
-
character_()
character_letters()
character_numbers()
character_alphanumeric()
- Character generators
-
logical_()
- Logical generator
-
date_()
date_bounded()
date_left_bounded()
date_right_bounded()
- Date generators
-
posixct_()
posixct_bounded()
posixct_left_bounded()
posixct_right_bounded()
- POSIXct generators
-
hms_()
hms_bounded()
hms_left_bounded()
hms_right_bounded()
- hms generators
-
factor_()
- Factor generator
-
list_()
- List generator
-
list_of()
- Variable length list generator
-
flat_list_of()
- Variable length flat list generator
-
tibble_()
- Tibble generators
-
tibble_of()
- Random tibble generator
-
data_frame_()
- Data frame generators
-
data_frame_of()
- Data frame generator with randomized columns
-
data.table_()
- data.table generators
-
data.table_of()
- data.table generator with randomized columns
-
anything()
- Any R object generator
-
any_atomic()
- Any atomic vector generator
-
any_list()
- Any list generator
-
any_flat_list()
- Any flat list generator
-
any_flat_homogeneous_list()
- Any flat homogeneous list generator
-
any_vector()
- Any vector generator
-
any_tibble()
- Any tibble generator
-
any_data_frame()
- Any data frame generator
-
any_data.table()
- Any data.table generator
-
any_undefined()
- Any undefined value generator
-
one_of()
- Randomly choose between generators
-
equal_length()
- Equal length vector generator
-
constant()
- Generate the same value every time
-
from_hedgehog()
- Convert a hedgehog generator to a quickcheck generator
-
as_hedgehog()
- Convert a quickcheck generator to a hedgehog generator
-
for_all()
- Test properties of a function
-
repeat_test()
- Repeatedly test properties of a function
-
show_example()
- Show an example output of a generator