Man pages for stbl
Stabilize Function Arguments

are_chr_ishCheck if an object can be safely coerced to character
are_dbl_ishCheck if an object can be safely coerced to double
are_fct_ishCheck if an object can be safely coerced to a factor
are_int_ishCheck if an object can be safely coerced to integer
are_lgl_ishCheck if an object can be safely coerced to logical
dot-apply_regex_ruleApply a single regex rule to a character vector
dot-are_not_dbl_ish_chrCheck for character to double coercion failures
dot-are_not_fct_ish_chrCheck for values that would be lost during factor coercion
dot-are_not_int_ish_chrCheck for character to integer coercion failures
dot-call_specified_fnCall a spec function with properly-named context arguments
dot-check_all_namedCheck that all list elements are named
dot-check_cast_failuresCheck for coercion failures and stop if any are found
dot-check_chr_to_int_failuresCheck for character to integer coercion failures
dot-check_df_col_namesCheck that required column names are present in a data frame
dot-check_df_rowsCheck that a data frame has an acceptable number of rows
dot-check_duplicate_namesCheck for duplicate names in a list
dot-check_function_allowedCheck whether functions are allowed
dot-check_is_not_primitiveError if an object is a primitive function
dot-check_naCheck for NA values
dot-check_not_jaggedCheck that list elements do not have jagged (unequal non-1)...
dot-check_scalarCheck if an object is a scalar
dot-check_sizeCheck the size of an object
dot-check_specs_namedCheck that all elements of a spec list are named
dot-check_value_chrCheck character values against one or more regex patterns
dot-check_value_dblCheck double values against min and max values
dot-check_x_no_more_than_yCheck that one value is not greater than another
dot-cli_escapeEscape curly braces for safe printing with cli
dot-cli_markWrap text in cli markup
dot-coerce_fct_levelsCoerce to factor with specified levels
dot-coerce_fct_levels_implCore implementation for applying factor levels
dot-coerce_fct_to_naCoerce specified values to NA
dot-collapse_dashPaste together collapsing with -
dot-compile_dashPaste together with - separator
dot-compile_pkg_condition_classesCompile a condition class chain
dot-compile_pkg_error_classesCompile an error class chain
dot-construct_specification_fnConstruct a specified stabilizer function
dot-construct_stabilizer_symbolAssemble the function name of the stabilizer
dot-define_main_msgDefine the main error message for a "must" error
dot-describe_failure_chrDescribe a character-based validation failure
dot-describe_failure_dbl_valueDescribe a numeric value validation failure
dot-describe_failure_dbl_value_multiDescribe multiple numeric value failures
dot-describe_failure_dbl_value_singleDescribe a single numeric value failure
dot-elements_are_cls_ishCheck if all elements of a list-like object are ish
dot-fast_falseAlways return FALSE
dot-find_failuresSafely find failure locations in a vector
dot-glue2A wrapper for 'glue::glue' with custom delimiters
dot-has_regex_patternDetect a regex pattern in a character vector
dot-is_allowed_nullCheck if a value is NULL and NULLs are allowed
dot-maybe_check_dupesConstruct the check_dupes expression
dot-shared-paramsShared parameters
dot-shared-params-checkShared parameters for check functions
dot-shared-params-lstShared params for list helpers
dot-stabilize_clsStabilize an object of a specific class
dot-stabilize_cls_scalarStabilize a scalar object of a specific class
dot-stbl_abortSignal an error with standards applied
dot-stop_bad_levelsStop for bad factor levels
dot-stop_cant_coerceAbort with a standardized "can't coerce" message
dot-stop_functionAbort because an argument must not be a function
dot-stop_incompatibleAbort with an "incompatible type" message
dot-stop_mustAbort with a standardized "must" message
dot-stop_nullAbort because an argument must not be NULL
dot-to_cls_from_fctCoerce an object from a factor to a specific class
dot-to_cls_from_listCoerce a list to a specific class
dot-to_cls_scalarCoerce an object to a specific scalar class
dot-to_df_vectorCoerce a vector to a one-column data frame
dot-to_nullEnsure an argument is NULL
dot-to_num_from_complexCoerce an object from a complex to a numeric class
dot-validate_extra_named_elementsValidate or reject extra named elements
dot-validate_named_elementsValidate all named elements (required and extra)
dot-validate_required_elementsValidate required named elements against their spec functions
dot-validate_unnamed_elementsValidate or reject unnamed elements
expect_pkg_error_classesTest package error classes
expect_pkg_error_snapshotSnapshot-test a package error
grapes-and-and-grapesNULL-coalescing-like operator
injection-operatorInjection operator for defused arguments
object_typeIdentify the class, type, etc of an object
pkg_abortSignal an error with standards applied
reexportsObjects exported from other packages
regex_must_matchCreate a regex matching rule
specify_chrCreate a specified character stabilizer function
specify_clsCreate a specified stabilizer function
specify_dblCreate a specified double stabilizer function
specify_dfCreate a specified data frame stabilizer function
specify_fctCreate a specified factor stabilizer function
specify_intCreate a specified integer stabilizer function
specify_lglCreate a specified logical stabilizer function
specify_lstCreate a specified list stabilizer function
stabilize_argEnsure an argument meets expectations
stabilize_chrEnsure a character argument meets expectations
stabilize_dblEnsure a double argument meets expectations
stabilize_dfEnsure a data frame argument meets expectations
stabilize_fctEnsure a factor argument meets expectations
stabilize_intEnsure an integer argument meets expectations
stabilize_lglEnsure a logical argument meets expectations
stabilize_lstEnsure a list argument meets expectations
stabilize_presentRequire a value to be non-NULL
stbl-packagestbl: Stabilize Function Arguments
to_dfEnsure a data frame argument meets expectations
to_lstEnsure a list argument meets expectations
stbl documentation built on April 4, 2026, 5:06 p.m.