Skip to contents

character vectors

double vectors

factors

integer vectors

logical vectors

data frames

specify_df() specify_data_frame()
Create a specified data frame stabilizer function
stabilize_df() stabilise_df() stabilize_data_frame() stabilise_data_frame()
Ensure a data frame argument meets expectations
to_df() to_data_frame()
Ensure a data frame argument meets expectations

lists

specify_lst() specify_list()
Create a specified list stabilizer function
stabilize_lst() stabilize_list() stabilise_lst() stabilise_list()
Ensure a list argument meets expectations
to_lst() to_list()
Ensure a list argument meets expectations
stabilize_present()
Require a value to be non-NULL

generic args

object_type()
Identify the class, type, etc of an object
stabilize_arg() stabilize_arg_scalar()
Ensure an argument meets expectations

conditions

pkg_abort()
Signal an error with standards applied
expect_pkg_error_classes()
Test package error classes
expect_pkg_error_snapshot()
Snapshot-test a package error