Description Usage Arguments See Also
Test data can be returned correctly using the return method. return is invoked to generate returned data which is then checked to ensure it is a data.frame, not empty and has at least 2 columns. Each column is then checked to ensure it contains data and is not just composed of NAs.
1 | test_return(DataClass_obj)
|
DataClass_obj |
The R6Class object to perform checks on.
Must be a |
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_processing()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.