Description Usage Arguments See Also
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
1 | test_download_JSON(DataClass_obj, download, snapshot_path)
|
DataClass_obj |
The R6Class object to perform checks on.
Must be a |
download |
Logical check to download or use a snapshot of the data |
snapshot_path |
character_array the path to save the downloaded snapshot to. |
Functions used for testing data is cleaned and processed correctly
expect_clean_cols()
,
expect_columns_contain_data()
,
expect_processed_cols()
,
test_cleaning()
,
test_download()
,
test_processing()
,
test_return()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.