Stabilize Objects


[Up] [Top]

Documentation for package ‘stbl’ version 0.5.0

Help Pages

A E I L O P R S T

-- A --

are_character_ish Check if an object can be safely coerced to character
are_chr_ish Check if an object can be safely coerced to character
are_chr_ish.default Check if an object can be safely coerced to character
are_dbl_ish Check if an object can be safely coerced to double
are_dbl_ish.character Check if an object can be safely coerced to double
are_dbl_ish.default Check if an object can be safely coerced to double
are_dbl_ish.factor Check if an object can be safely coerced to double
are_double_ish Check if an object can be safely coerced to double
are_factor_ish Check if an object can be safely coerced to a factor
are_fct_ish Check if an object can be safely coerced to a factor
are_fct_ish.default Check if an object can be safely coerced to a factor
are_fn_ish Check if an object can be safely coerced to a function
are_function_ish Check if an object can be safely coerced to a function
are_integer_ish Check if an object can be safely coerced to integer
are_int_ish Check if an object can be safely coerced to integer
are_int_ish.character Check if an object can be safely coerced to integer
are_int_ish.default Check if an object can be safely coerced to integer
are_int_ish.factor Check if an object can be safely coerced to integer
are_lgl_ish Check if an object can be safely coerced to logical
are_lgl_ish.default Check if an object can be safely coerced to logical
are_logical_ish Check if an object can be safely coerced 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 coerced to character
is_chr_ish Check if an object can be safely coerced to character
is_dbl_ish Check if an object can be safely coerced to double
is_double_ish Check if an object can be safely coerced to double
is_factor_ish Check if an object can be safely coerced to a factor
is_fct_ish Check if an object can be safely coerced to a factor
is_fn_ish Check if an object can be safely coerced to a function
is_function_ish Check if an object can be safely coerced to a function
is_integer_ish Check if an object can be safely coerced to integer
is_int_ish Check if an object can be safely coerced to integer
is_lgl_ish Check if an object can be safely coerced to logical
is_logical_ish Check if an object can be safely coerced 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

-- 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 coerce or validate x as all of several specs
stabilise_any_of Try to coerce or validate x as one of several types
stabilise_character Coerce to character with additional checks
stabilise_character_scalar Coerce to length-1 character with additional checks
stabilise_chr Coerce to character with additional checks
stabilise_chr_scalar Coerce to length-1 character with additional checks
stabilise_data_frame Ensure a data frame meets expectations
stabilise_date Coerce to date with additional checks
stabilise_datetime Coerce to date-time with additional checks
stabilise_datetime_scalar Coerce to length-1 date-time with additional checks
stabilise_date_scalar Coerce to length-1 date with additional checks
stabilise_dbl Coerce to double with additional checks
stabilise_dbl_scalar Coerce to length-1 double with additional checks
stabilise_df Ensure a data frame meets expectations
stabilise_double Coerce to double with additional checks
stabilise_double_scalar Coerce to length-1 double with additional checks
stabilise_dttm Coerce to date-time with additional checks
stabilise_dttm_scalar Coerce to length-1 date-time with additional checks
stabilise_dur Coerce to duration with additional checks
stabilise_duration Coerce to duration with additional checks
stabilise_duration_scalar Coerce to length-1 duration with additional checks
stabilise_dur_scalar Coerce to length-1 duration with additional checks
stabilise_each Ensure every element of x satisfies a single spec
stabilise_factor Coerce to factor with additional checks
stabilise_factor_scalar Coerce to length-1 factor with additional checks
stabilise_fct Coerce to factor with additional checks
stabilise_fct_scalar Coerce to length-1 factor with additional checks
stabilise_int Coerce to integer with additional checks
stabilise_integer Coerce to integer with additional checks
stabilise_integer_scalar Coerce to length-1 integer with additional checks
stabilise_int_scalar Coerce to length-1 integer with additional checks
stabilise_lgl Coerce to logical with additional checks
stabilise_lgl_scalar Coerce to length-1 logical with additional checks
stabilise_list Ensure a list meets expectations
stabilise_logical Coerce to logical with additional checks
stabilise_logical_scalar Coerce to length-1 logical with additional checks
stabilise_lst Ensure a list meets expectations
stabilise_one_of Try to coerce or validate x as exactly one of several specifications
stabilise_time Coerce to time-of-day with additional checks
stabilise_time_scalar Coerce to length-1 time-of-day with additional checks
stabilize_all_of Try to coerce or validate x as all of several specs
stabilize_any_of Try to coerce 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 Coerce to character with additional checks
stabilize_character_scalar Coerce to length-1 character with additional checks
stabilize_chr Coerce to character with additional checks
stabilize_chr_scalar Coerce to length-1 character with additional checks
stabilize_data_frame Ensure a data frame meets expectations
stabilize_date Coerce to date with additional checks
stabilize_datetime Coerce to date-time with additional checks
stabilize_datetime_scalar Coerce to length-1 date-time with additional checks
stabilize_date_scalar Coerce to length-1 date with additional checks
stabilize_dbl Coerce to double with additional checks
stabilize_dbl_scalar Coerce to length-1 double with additional checks
stabilize_df Ensure a data frame meets expectations
stabilize_double Coerce to double with additional checks
stabilize_double_scalar Coerce to length-1 double with additional checks
stabilize_dttm Coerce to date-time with additional checks
stabilize_dttm_scalar Coerce to length-1 date-time with additional checks
stabilize_dur Coerce to duration with additional checks
stabilize_duration Coerce to duration with additional checks
stabilize_duration_scalar Coerce to length-1 duration with additional checks
stabilize_dur_scalar Coerce to length-1 duration with additional checks
stabilize_each Ensure every element of x satisfies a single spec
stabilize_factor Coerce to factor with additional checks
stabilize_factor_scalar Coerce to length-1 factor with additional checks
stabilize_fct Coerce to factor with additional checks
stabilize_fct_scalar Coerce to length-1 factor with additional checks
stabilize_int Coerce to integer with additional checks
stabilize_integer Coerce to integer with additional checks
stabilize_integer_scalar Coerce to length-1 integer with additional checks
stabilize_int_scalar Coerce to length-1 integer with additional checks
stabilize_lgl Coerce to logical with additional checks
stabilize_lgl_scalar Coerce to length-1 logical with additional checks
stabilize_list Ensure a list meets expectations
stabilize_logical Coerce to logical with additional checks
stabilize_logical_scalar Coerce to length-1 logical with additional checks
stabilize_lst Ensure a list meets expectations
stabilize_one_of Try to coerce or validate x as exactly one of several specifications
stabilize_time Coerce to time-of-day with additional checks
stabilize_time_scalar Coerce to length-1 time-of-day with additional checks

-- T --

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