Intuitive Unit Testing Tools for Data Manipulation


[Up] [Top]

Documentation for package ‘checkthat’ version 0.1.0

Help Pages

at_least Facilitate "At Least" Comparison on Logical Vectors
at_most Facilitate "At Most" Comparison on Logical Vectors
check_that Check that assertions about a dataframe are true/false
exactly_equal Facilitate "Exactly Equal" Comparison on Logical Vectors
for_case Check if Logical Conditions Hold for a Specific Data Row
is_count Check if a Numeric Value is a Count
is_integerlike Check if a Numeric Value is Integer-like
is_logical_vec Check if a Vector is a Valid Logical Vector
is_proportion Check if a Numeric Value is a Proportion
less_than Facilitate "Less Than" Comparison on Logical Vectors
more_than Facilitate "More Than" Comparison on Logical Vectors
prop Calculate Proportion of TRUE Values in a Logical Vector
some_of Check if logical conditions are met some of the time in a logical vector
validate_count Validate a Count Value
validate_logical_vec Validate a Logical Vector
validate_proportion Validate a Proportion Value
whenever Whenever one condition is true, check other logical conditions also hold