Description Usage Arguments Author(s) Examples
Uses diffdf::diffdf()
to compares 2 datasets for any differences
1 | expect_dfs_equal(base, compare, keys, ...)
|
base |
Input dataset |
compare |
Comparison dataset |
keys |
|
... |
Additional arguments passed onto |
Thomas Neitmann
1 2 3 4 5 6 7 | ## Not run:
testthat::test_that("a missing row is detected", {
data(dm)
expect_dfs_equal(dm, dm[-1L, ], keys = "USUBJID")
})
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.