powered by
Create a dataframe to help visualise 'expected' values
expect_frame(data, expectation)
data.frames where expectation are true
data.frame
unquoted conditions or "expectations" to test
Stuart Lee and Earo Wang
if (FALSE) { dat_test <- tibble::tribble( ~x, ~y, -1, "A", 0, "B", 1, "C" ) expect_frame(dat_test, ~ .x == -1) }
Run the code above in your browser using DataLab