Readable check functions to ensure code integrity.


[Up] [Top]

Documentation for package ‘assertive’ version 0.1-4

Help Pages

A C F G H I N S U

assertive-package Readable check functions to ensure code integrity.

-- A --

assertive Readable check functions to ensure code integrity.
assert_all_are_classes Is the input the name of a (formally defined) class?
assert_all_are_executable_files Is the file accessible?
assert_all_are_existing Does the variable exist?
assert_all_are_existing_files Does the file exist?
assert_all_are_finite Are the inputs (in)finite?
assert_all_are_imaginary Is the input real/imaginary?
assert_all_are_infinite Are the inputs (in)finite?
assert_all_are_in_closed_range Is the input in range?
assert_all_are_in_left_open_range Is the input in range?
assert_all_are_in_open_range Is the input in range?
assert_all_are_in_range Is the input in range?
assert_all_are_in_right_open_range Is the input in range?
assert_all_are_nan Is the input (not) NaN?
assert_all_are_negative Is the input in range?
assert_all_are_non_negative Is the input in range?
assert_all_are_non_positive Is the input in range?
assert_all_are_not_na Is the input present/missing?
assert_all_are_not_nan Is the input (not) NaN?
assert_all_are_numeric_strings Is the input of type character?
assert_all_are_percentages Is the input in range?
assert_all_are_positive Is the input in range?
assert_all_are_proportions Is the input in range?
assert_all_are_readable_files Is the file accessible?
assert_all_are_real Is the input real/imaginary?
assert_all_are_valid_variable_names Is the string a valid variable name?
assert_all_are_writable_files Is the file accessible?
assert_all_numbers_whole_numbers Is the input a whole number?
assert_all_strings_are_missing_or_empty Is the input of type character?
assert_all_strings_are_not_missing_nor_empty Is the input of type character?
assert_any_are_classes Is the input the name of a (formally defined) class?
assert_any_are_executable_files Is the file accessible?
assert_any_are_existing Does the variable exist?
assert_any_are_existing_files Does the file exist?
assert_any_are_finite Are the inputs (in)finite?
assert_any_are_imaginary Is the input real/imaginary?
assert_any_are_infinite Are the inputs (in)finite?
assert_any_are_in_closed_range Is the input in range?
assert_any_are_in_left_open_range Is the input in range?
assert_any_are_in_open_range Is the input in range?
assert_any_are_in_range Is the input in range?
assert_any_are_in_right_open_range Is the input in range?
assert_any_are_nan Is the input (not) NaN?
assert_any_are_negative Is the input in range?
assert_any_are_non_negative Is the input in range?
assert_any_are_non_positive Is the input in range?
assert_any_are_not_na Is the input present/missing?
assert_any_are_not_nan Is the input (not) NaN?
assert_any_are_numeric_strings Is the input of type character?
assert_any_are_percentages Is the input in range?
assert_any_are_positive Is the input in range?
assert_any_are_proportions Is the input in range?
assert_any_are_readable_files Is the file accessible?
assert_any_are_real Is the input real/imaginary?
assert_any_are_valid_variable_names Is the string a valid variable name?
assert_any_are_writable_files Is the file accessible?
assert_any_numbers_whole_numbers Is the input a whole number?
assert_any_strings_are_missing_or_empty Is the input of type character?
assert_any_strings_are_not_missing_nor_empty Is the input of type character?
assert_engine Throws an error if a condition isn't met.
assert_has_all_attributes Does the input have the specified attributes?
assert_has_any_attributes Does the input have the specified attributes?
assert_has_colnames Does the input have names?
assert_has_cols Does the input have rows/columns?
assert_has_dimnames Does the input have names?
assert_has_dims Does the input have dimensions?
assert_has_duplicates Does the input have duplicates?
assert_has_names Does the input have names?
assert_has_no_duplicates Does the input have duplicates?
assert_has_rownames Does the input have names?
assert_has_rows Does the input have rows/columns?
assert_has_terms Does the input have terms?
assert_is_all_of Alternative version of is.
assert_is_any_of Alternative version of is.
assert_is_an_empty_string Is the input of type character?
assert_is_an_integer Is the input an integer?
assert_is_array Is the input an array or matrix?
assert_is_atomic Is the input atomic/recursive/vector?
assert_is_a_bool Is the input logical?
assert_is_a_complex Is the input complex?
assert_is_a_non_empty_string Is the input of type character?
assert_is_a_number Is the input numeric?
assert_is_a_raw Is the input raw?
assert_is_a_string Is the input of type character?
assert_is_call Is the input a language object?
assert_is_character Is the input of type character?
assert_is_complex Is the input complex?
assert_is_data.frame Checks to see if the input is a data.frame.
assert_is_debugged Is the input function being debugged?
assert_is_empty Is the input empty/scalar?
assert_is_empty_model Is the input the empty model?
assert_is_environment Is the input an environment?
assert_is_expression Is the input a language object?
assert_is_factor Is the input an factor?
assert_is_false Is the input TRUE?
assert_is_function Is the input a function?
assert_is_incomplete_connection Is the input an open/incomplete connection?
assert_is_integer Is the input an integer?
assert_is_language Is the input a language object?
assert_is_leaf Is the input a (dendrogram) leaf?
assert_is_list Is the input a list?
assert_is_loaded Is the input DLL loaded?
assert_is_logical Is the input logical?
assert_is_matrix Is the input an array or matrix?
assert_is_mts Is the input a time series?
assert_is_name Is the input a language object?
assert_is_non_empty Is the input empty/scalar?
assert_is_non_empty_model Is the input the empty model?
assert_is_not_null Is the input (not) null?
assert_is_null Is the input (not) null?
assert_is_numeric Is the input numeric?
assert_is_open_connection Is the input an open/incomplete connection?
assert_is_ordered Is the input an factor?
assert_is_primitive Is the input a function?
assert_is_qr Is the input a QR decomposition of a matrix?
assert_is_R Are you running R?
assert_is_raster Is the input a raster?
assert_is_raw Is the input raw?
assert_is_recursive Is the input atomic/recursive/vector?
assert_is_relistable Is the input raw?
assert_is_S4 Is the input an S4 object?
assert_is_scalar Is the input empty/scalar?
assert_is_stepfun Is the input a function?
assert_is_symbol Is the input a language object?
assert_is_symmetric_matrix Is the input a symmetric matrix?
assert_is_table Is the input a table?
assert_is_true Is the input TRUE?
assert_is_ts Is the input a time series?
assert_is_tskernel Is the input a time series?
assert_is_unsorted Is the input unsorted?
assert_is_vector Is the input atomic/recursive/vector?

-- C --

call_and_name Call a function, and give the result names.
cause Get or set the '"cause"' attribute.
cause<- Get or set the '"cause"' attribute.
coerce_to Coerce variable to a different class.

-- F --

false FALSE, with a cause of failure.

-- G --

get_name_in_parent Get the name of a variable in the parent frame.

-- H --

has_any_attributes Does the input have any attributes?
has_arg Does the current call have an argument?
has_attributes Does the input have the specified attributes?
has_colnames Does the input have names?
has_cols Does the input have rows/columns?
has_dimnames Does the input have names?
has_dims Does the input have dimensions?
has_duplicates Does the input have duplicates?
has_names Does the input have names?
has_no_duplicates Does the input have duplicates?
has_rownames Does the input have names?
has_rows Does the input have rows/columns?
has_terms Does the input have terms?

-- I --

is2 Alternative version of is.
is_an_empty_string Is the input of type character?
is_an_integer Is the input an integer?
is_array Is the input an array or matrix?
is_atomic Is the input atomic/recursive/vector?
is_a_bool Is the input logical?
is_a_complex Is the input complex?
is_a_non_empty_string Is the input of type character?
is_a_number Is the input numeric?
is_a_raw Is the input raw?
is_a_string Is the input of type character?
is_call Is the input a language object?
is_character Is the input of type character?
is_class Is the input the name of a (formally defined) class?
is_complex Is the input complex?
is_data.frame Checks to see if the input is a data.frame.
is_debugged Is the input function being debugged?
is_empty Is the input empty/scalar?
is_empty_model Is the input the empty model?
is_environment Is the input an environment?
is_existing Does the variable exist?
is_existing_file Does the file exist?
is_expression Is the input a language object?
is_ex_file Is the file accessible?
is_factor Is the input an factor?
is_false Is the input TRUE?
is_finite Are the inputs (in)finite?
is_function Is the input a function?
is_imaginary Is the input real/imaginary?
is_incomplete_connection Is the input an open/incomplete connection?
is_infinite Are the inputs (in)finite?
is_integer Is the input an integer?
is_in_closed_range Is the input in range?
is_in_left_open_range Is the input in range?
is_in_open_range Is the input in range?
is_in_range Is the input in range?
is_in_right_open_range Is the input in range?
is_language Is the input a language object?
is_leaf Is the input a (dendrogram) leaf?
is_list Is the input a list?
is_loaded Is the input DLL loaded?
is_logical Is the input logical?
is_matrix Is the input an array or matrix?
is_missing_or_empty_character Is the input of type character?
is_mts Is the input a time series?
is_na Is the input present/missing?
is_name Is the input a language object?
is_nan Is the input (not) NaN?
is_negative Is the input in range?
is_non_empty Is the input empty/scalar?
is_non_empty_model Is the input the empty model?
is_non_negative Is the input in range?
is_non_positive Is the input in range?
is_not_missing_nor_empty_character Is the input of type character?
is_not_na Is the input present/missing?
is_not_nan Is the input (not) NaN?
is_null Is the input (not) null?
is_numeric Is the input numeric?
is_numeric_string Is the input of type character?
is_open_connection Is the input an open/incomplete connection?
is_ordered Is the input an factor?
is_percentage Is the input in range?
is_positive Is the input in range?
is_primitive Is the input a function?
is_proportion Is the input in range?
is_qr Is the input a QR decomposition of a matrix?
is_R Are you running R?
is_raster Is the input a raster?
is_raw Is the input raw?
is_readable_file Is the file accessible?
is_real Is the input real/imaginary?
is_recursive Is the input atomic/recursive/vector?
is_relistable Is the input relistable?
is_S4 Is the input an S4 object?
is_scalar Is the input empty/scalar?
is_stepfun Is the input a function?
is_symbol Is the input a language object?
is_symmetric_matrix Is the input a symmetric matrix?
is_table Is the input a table?
is_true Is the input TRUE?
is_ts Is the input a time series?
is_tskernel Is the input a time series?
is_unsorted Is the input unsorted?
is_valid_variable_name Is the string a valid variable name?
is_vector Is the input atomic/recursive/vector?
is_whole_number Is the input a whole number?
is_writable_file Is the file accessible?

-- N --

na NA, with a cause of failure.

-- S --

strip_attributes Strip all attributes from a variable.

-- U --

use_first Only use the first element of a vector.