Test data can be downloaded if download = TRUE, or a requested
snapshot file is not found, and store a snap shot in the snapshot_dir. If
an existing snapshot file is found then load this data to use in future tests
Arguments
- DataClass_obj
The R6Class object to perform checks on. Must be a
DataClassorDataClasschild object.- download
Logical check to download or use a snapshot of the data
- snapshot_path
character_array the path to save the downloaded snapshot to.
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_processing(),
test_return()
