My database transforms all column names to lower case. This causes a failure when comparing to generated tables with upper case letters, i.e. iris dataset. I'm not sure how this affects all the other tests but options could be:
- in
get_iris change all columns to lower case
names(datasets_iris) <- tolower(names(datasets_iris))
- make similar transformation to lower case for all data.frame comparisons
- use
testthat::expected_equivalent which ignores attributes
- allow for tweak that makes column names lower case