Data Unit Testing for R


[Up] [Top]

Documentation for package ‘testdat’ version 0.4.2

Help Pages

%E>% Get/set test data
chk-dates Checks: dates
chk-dummy Checks: dummy
chk-helper Checks: data frame helpers
chk-labels Checks: labels
chk-patterns Checks: patterns
chk-text Checks: text
chk-uniqueness Checks: uniqueness
chk-values Checks: values
chk_ascii Checks: text
chk_blank Checks: values
chk_date_yyyy Checks: dates
chk_date_yyyymm Checks: dates
chk_date_yyyymmdd Checks: dates
chk_dummy Checks: dummy
chk_equals Checks: values
chk_filter Checks: data frame helpers
chk_filter_all Checks: data frame helpers
chk_filter_any Checks: data frame helpers
chk_labels Checks: labels
chk_max_length Checks: patterns
chk_range Checks: values
chk_regex Checks: patterns
chk_text_miss Checks: text
chk_text_nmiss Checks: text
chk_unique Checks: uniqueness
chk_values Checks: values
conditional-expectations Expectations: consistency
datacomp-expectations Expectations: comparisons
date-expectations Expectations: dates
exclusivity-expectations Expectations: exclusivity
expect_all Expectations: generic helpers
expect_any Expectations: generic helpers
expect_base Expectations: consistency
expect_cond Expectations: consistency
expect_date_yyyy Expectations: dates
expect_date_yyyymm Expectations: dates
expect_date_yyyymmdd Expectations: dates
expect_depends Expectations: functional dependency
expect_exclusive Expectations: exclusivity
expect_labels Expectations: labels
expect_make Create an expectation from a check function
expect_max_length Expectations: patterns
expect_prop_gte Expectations: proportions
expect_prop_lte Expectations: proportions
expect_prop_nmiss Expectations: proportions
expect_prop_values Expectations: proportions
expect_range Expectations: values
expect_regex Expectations: patterns
expect_subset Expectations: comparisons
expect_text_miss Expectations: text
expect_text_nmiss Expectations: text
expect_unique Expectations: uniqueness
expect_unique_across Expectations: uniqueness
expect_unique_combine Expectations: uniqueness
expect_valmatch Expectations: comparisons
expect_values Expectations: values
generic-expectations Expectations: generic helpers
get_testdata Get/set test data
global-data Get/set test data
label-expectations Expectations: labels
output_results_excel Output 'ListReporter' results in Excel format
pattern-expectations Expectations: patterns
proportion-expectations Expectations: proportions
set_testdata Get/set test data
text-expectations Expectations: text
uniqueness-expectations Expectations: uniqueness
value-expectations Expectations: values
with_testdata Get/set test data