Create a dataframe to help visualise 'expected' values
Create a dataframe to help visualise 'expected' values
expect_frame(data, expectation)
data |
data.frame |
expectation |
unquoted conditions or "expectations" to test |
data.frames where expectation are true
Stuart Lee and Earo Wang
## Not run: dat_test <- tibble::tribble( ~x, ~y, -1, "A", 0, "B", 1, "C" ) expect_frame(dat_test, ~ .x == -1) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.