Description Usage Arguments See Also
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.
1 | test_processing(DataClass_obj, all = FALSE)
|
DataClass_obj |
The R6Class object to perform checks on.
Must be a |
all |
Logical. Run tests with all settings (TRUE) or with those defined in the current class instance (FALSE). Defaults to FALSE. |
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.