Stabilize Objects


[Up] [Top]

Documentation for package ‘stbl’ version 0.6.0

Help Pages

A E I L O P R S T

-- A --

are_character_ish Check if an object can be safely converted to character
are_chr_ish Check if an object can be safely converted to character
are_chr_ish.default Check if an object can be safely converted to character
are_dbl_ish Check if an object can be safely converted to double
are_dbl_ish.character Check if an object can be safely converted to double
are_dbl_ish.default Check if an object can be safely converted to double
are_dbl_ish.factor Check if an object can be safely converted to double
are_double_ish Check if an object can be safely converted to double
are_factor_ish Check if an object can be safely converted to a factor
are_fct_ish Check if an object can be safely converted to a factor
are_fct_ish.default Check if an object can be safely converted to a factor
are_fn_ish Check if an object can be safely converted to a function
are_function_ish Check if an object can be safely converted to a function
are_integer_ish Check if an object can be safely converted to integer
are_int_ish Check if an object can be safely converted to integer
are_int_ish.character Check if an object can be safely converted to integer
are_int_ish.default Check if an object can be safely converted to integer
are_int_ish.factor Check if an object can be safely converted to integer
are_lgl_ish Check if an object can be safely converted to logical
are_lgl_ish.default Check if an object can be safely converted to logical
are_logical_ish Check if an object can be safely converted to logical
assert_contains Require that x contains a number of elements matching a specification
assert_not Require a value not to match a specification
assert_present Require a value to be non-NULL

-- E --

expect_pkg_error_classes Test package error classes
expect_pkg_error_snapshot Snapshot-test a package error
expect_pkg_message_classes Test package message classes
expect_pkg_message_snapshot Snapshot-test a package message
expect_pkg_warning_classes Test package warning classes
expect_pkg_warning_snapshot Snapshot-test a package warning

-- I --

ignore_stbl_error Ignore a stbl error class
is_character_ish Check if an object can be safely converted to character
is_chr_ish Check if an object can be safely converted to character
is_dbl_ish Check if an object can be safely converted to double
is_double_ish Check if an object can be safely converted to double
is_factor_ish Check if an object can be safely converted to a factor
is_fct_ish Check if an object can be safely converted to a factor
is_fn_ish Check if an object can be safely converted to a function
is_function_ish Check if an object can be safely converted to a function
is_integer_ish Check if an object can be safely converted to integer
is_int_ish Check if an object can be safely converted to integer
is_lgl_ish Check if an object can be safely converted to logical
is_logical_ish Check if an object can be safely converted to logical

-- L --

locale_datetime_formats Determine locale-aware date and date-time formats

-- O --

object_type Identify the class, type, etc of an object

-- P --

pkg_abort Signal an error with standards applied
pkg_inform Signal a message with standards applied
pkg_warn Signal a warning with standards applied

-- R --

regex_must_match Create a regex matching rule
regex_must_not_match Create a regex matching rule
replace_stbl_error Replace a stbl error with a custom message
resolve_tz Resolve a time zone

-- S --

specify_all_of Create a specified all-of stabilizer function
specify_any_of Create a specified any-of stabilizer function
specify_character Create a specified character stabilizer function
specify_character_scalar Create a specified character stabilizer function
specify_chr Create a specified character stabilizer function
specify_chr_scalar Create a specified character stabilizer function
specify_data_frame Create a specified data frame stabilizer function
specify_date Create a specified date stabilizer function
specify_datetime Create a specified datetime stabilizer function
specify_datetime_scalar Create a specified datetime stabilizer function
specify_date_scalar Create a specified date stabilizer function
specify_dbl Create a specified double stabilizer function
specify_dbl_scalar Create a specified double stabilizer function
specify_df Create a specified data frame stabilizer function
specify_double Create a specified double stabilizer function
specify_double_scalar Create a specified double stabilizer function
specify_dttm Create a specified datetime stabilizer function
specify_dttm_scalar Create a specified datetime stabilizer function
specify_dur Create a specified duration stabilizer function
specify_duration Create a specified duration stabilizer function
specify_duration_scalar Create a specified duration stabilizer function
specify_dur_scalar Create a specified duration stabilizer function
specify_each Create a specified each stabilizer function
specify_factor Create a specified factor stabilizer function
specify_factor_scalar Create a specified factor stabilizer function
specify_fct Create a specified factor stabilizer function
specify_fct_scalar Create a specified factor stabilizer function
specify_int Create a specified integer stabilizer function
specify_integer Create a specified integer stabilizer function
specify_integer_scalar Create a specified integer stabilizer function
specify_int_scalar Create a specified integer stabilizer function
specify_lgl Create a specified logical stabilizer function
specify_lgl_scalar Create a specified logical stabilizer function
specify_list Create a specified list stabilizer function
specify_logical Create a specified logical stabilizer function
specify_logical_scalar Create a specified logical stabilizer function
specify_lst Create a specified list stabilizer function
specify_one_of Create a specified one-of stabilizer function
specify_time Create a specified time-of-day stabilizer function
specify_time_scalar Create a specified time-of-day stabilizer function
stabilise_all_of Try to convert or validate x as all of several specs
stabilise_any_of Try to convert or validate x as one of several types
stabilise_character Convert to character with additional checks
stabilise_character_scalar Convert to length-1 character with additional checks
stabilise_chr Convert to character with additional checks
stabilise_chr_scalar Convert to length-1 character with additional checks
stabilise_data_frame Ensure a data frame meets expectations
stabilise_date Convert to date with additional checks
stabilise_datetime Convert to date-time with additional checks
stabilise_datetime_scalar Convert to length-1 date-time with additional checks
stabilise_date_scalar Convert to length-1 date with additional checks
stabilise_dbl Convert to double with additional checks
stabilise_dbl_scalar Convert to length-1 double with additional checks
stabilise_df Ensure a data frame meets expectations
stabilise_double Convert to double with additional checks
stabilise_double_scalar Convert to length-1 double with additional checks
stabilise_dttm Convert to date-time with additional checks
stabilise_dttm_scalar Convert to length-1 date-time with additional checks
stabilise_dur Convert to duration with additional checks
stabilise_duration Convert to duration with additional checks
stabilise_duration_scalar Convert to length-1 duration with additional checks
stabilise_dur_scalar Convert to length-1 duration with additional checks
stabilise_each Ensure every element of x satisfies a single spec
stabilise_factor Convert to factor with additional checks
stabilise_factor_scalar Convert to length-1 factor with additional checks
stabilise_fct Convert to factor with additional checks
stabilise_fct_scalar Convert to length-1 factor with additional checks
stabilise_int Convert to integer with additional checks
stabilise_integer Convert to integer with additional checks
stabilise_integer_scalar Convert to length-1 integer with additional checks
stabilise_int_scalar Convert to length-1 integer with additional checks
stabilise_lgl Convert to logical with additional checks
stabilise_lgl_scalar Convert to length-1 logical with additional checks
stabilise_list Ensure a list meets expectations
stabilise_logical Convert to logical with additional checks
stabilise_logical_scalar Convert to length-1 logical with additional checks
stabilise_lst Ensure a list meets expectations
stabilise_one_of Try to convert or validate x as exactly one of several specifications
stabilise_time Convert to time-of-day with additional checks
stabilise_time_scalar Convert to length-1 time-of-day with additional checks
stabilize_all_of Try to convert or validate x as all of several specs
stabilize_any_of Try to convert or validate x as one of several types
stabilize_arg Ensure an object meets expectations
stabilize_arg_scalar Ensure an object meets expectations
stabilize_character Convert to character with additional checks
stabilize_character_scalar Convert to length-1 character with additional checks
stabilize_chr Convert to character with additional checks
stabilize_chr_scalar Convert to length-1 character with additional checks
stabilize_data_frame Ensure a data frame meets expectations
stabilize_date Convert to date with additional checks
stabilize_datetime Convert to date-time with additional checks
stabilize_datetime_scalar Convert to length-1 date-time with additional checks
stabilize_date_scalar Convert to length-1 date with additional checks
stabilize_dbl Convert to double with additional checks
stabilize_dbl_scalar Convert to length-1 double with additional checks
stabilize_df Ensure a data frame meets expectations
stabilize_double Convert to double with additional checks
stabilize_double_scalar Convert to length-1 double with additional checks
stabilize_dttm Convert to date-time with additional checks
stabilize_dttm_scalar Convert to length-1 date-time with additional checks
stabilize_dur Convert to duration with additional checks
stabilize_duration Convert to duration with additional checks
stabilize_duration_scalar Convert to length-1 duration with additional checks
stabilize_dur_scalar Convert to length-1 duration with additional checks
stabilize_each Ensure every element of x satisfies a single spec
stabilize_factor Convert to factor with additional checks
stabilize_factor_scalar Convert to length-1 factor with additional checks
stabilize_fct Convert to factor with additional checks
stabilize_fct_scalar Convert to length-1 factor with additional checks
stabilize_int Convert to integer with additional checks
stabilize_integer Convert to integer with additional checks
stabilize_integer_scalar Convert to length-1 integer with additional checks
stabilize_int_scalar Convert to length-1 integer with additional checks
stabilize_lgl Convert to logical with additional checks
stabilize_lgl_scalar Convert to length-1 logical with additional checks
stabilize_list Ensure a list meets expectations
stabilize_logical Convert to logical with additional checks
stabilize_logical_scalar Convert to length-1 logical with additional checks
stabilize_lst Ensure a list meets expectations
stabilize_one_of Try to convert or validate x as exactly one of several specifications
stabilize_time Convert to time-of-day with additional checks
stabilize_time_scalar Convert to length-1 time-of-day with additional checks

-- T --

to Convert a value to a target type
to.array Convert a value to a target type
to.character Convert a value to a target type
to.data.frame Convert a value to a target type
to.Date Convert a value to a target type
to.default Convert a value to a target type
to.double Convert a value to a target type
to.factor Convert a value to a target type
to.function Convert a value to a target type
to.hms Convert a value to a target type
to.integer Convert a value to a target type
to.list Convert a value to a target type
to.logical Convert a value to a target type
to.NULL Convert a value to a target type
to.Period Convert a value to a target type
to.POSIXct Convert a value to a target type
to_any_of Try to convert or validate x as one of several types
to_character Convert to character
to_character_scalar Convert to length-1 character
to_chr Convert to character
to_chr_scalar Convert to length-1 character
to_data_frame Ensure a data frame meets expectations
to_date Convert to date
to_date.character Convert to date
to_date.factor Convert to date
to_date.NULL Convert to date
to_date.numeric Convert to date
to_date.POSIXct Convert to date
to_date.POSIXlt Convert to date
to_datetime Convert to date-time
to_datetime_scalar Convert to length-1 date-time
to_date_scalar Convert to length-1 date
to_dbl Convert to double
to_dbl.character Convert to double
to_dbl.factor Convert to double
to_dbl.NULL Convert to double
to_dbl_scalar Convert to length-1 double
to_df Ensure a data frame meets expectations
to_df.NULL Ensure a data frame meets expectations
to_double Convert to double
to_double_scalar Convert to length-1 double
to_dttm Convert to date-time
to_dttm.character Convert to date-time
to_dttm.Date Convert to date-time
to_dttm.factor Convert to date-time
to_dttm.NULL Convert to date-time
to_dttm.numeric Convert to date-time
to_dttm.POSIXct Convert to date-time
to_dttm.POSIXlt Convert to date-time
to_dttm_scalar Convert to length-1 date-time
to_dur Convert to a duration
to_dur.character Convert to a duration
to_dur.difftime Convert to a duration
to_dur.factor Convert to a duration
to_dur.NULL Convert to a duration
to_dur.numeric Convert to a duration
to_dur.Period Convert to a duration
to_duration Convert to a duration
to_dur_scalar Convert to length-1 duration
to_each Convert each element of x with a single spec
to_factor Convert to factor
to_factor_scalar Convert to length-1 factor
to_fct Convert to factor
to_fct.NULL Convert to factor
to_fct_scalar Convert to length-1 factor
to_fn Convert to a function
to_fn.character Convert to a function
to_fn.default Convert to a function
to_fn.NULL Convert to a function
to_function Convert to a function
to_int Convert to integer
to_int.character Convert to integer
to_int.factor Convert to integer
to_int.NULL Convert to integer
to_integer Convert to integer
to_integer_scalar Convert to length-1 integer
to_int_scalar Convert to length-1 integer
to_lgl Convert to logical
to_lgl.NULL Convert to logical
to_lgl_scalar Convert to length-1 logical
to_list Ensure a list meets expectations
to_logical Convert to logical
to_logical_scalar Convert to length-1 logical
to_lst Ensure a list meets expectations
to_lst.default Ensure a list meets expectations
to_lst.function Ensure a list meets expectations
to_lst.list Ensure a list meets expectations
to_lst.NULL Ensure a list meets expectations
to_one_of Try to convert or validate x as exactly one of several specifications
to_time Convert to time-of-day
to_time.character Convert to time-of-day
to_time.difftime Convert to time-of-day
to_time.factor Convert to time-of-day
to_time.NULL Convert to time-of-day
to_time.numeric Convert to time-of-day
to_time.POSIXct Convert to time-of-day
to_time.POSIXlt Convert to time-of-day
to_time_scalar Convert to length-1 time-of-day