expect_dataframe_equal | R Documentation |
Test for dataframe equivalence
expect_dataframe_equal(result, expected)
result |
Actual data frame |
expected |
Expected data frame |
ignore_col_order |
Ignore order of columns in dataframe? Defaults to FALSE. |
ignore_row_order |
Ignore order of rows in dataframe? Defaults to TRUE. |
convert |
Convert similar classes (factor to character, int to double)? |
If test passes, nothing. If it fails, description of failure.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.