Test data can be processed correctly using the process method.
process is invoked to generate processed data which is then checked to ensure
it is a data.frame, which is not empty, has at least 2 columns and calls
expect_processed_columns
to check each column types.
Arguments
- DataClass_obj
The R6Class object to perform checks on. Must be a
DataClass
orDataClass
child object.- all
Logical. Run tests with all settings (TRUE) or with those defined in the current class instance (FALSE). Defaults to FALSE.
See also
Functions used for testing data is cleaned and processed correctly
expect_clean_cols()
,
expect_columns_contain_data()
,
expect_processed_cols()
,
test_cleaning()
,
test_download_JSON()
,
test_download()
,
test_return()