powered by
Extract only the failed (non-matching) comparisons from batch results.
failed_pairs(object)
A tibble or data.frame containing only rows where match is FALSE.
match
FALSE
An odiffr_batch object from compare_images_batch() or compare_image_dirs().
odiffr_batch
compare_images_batch()
compare_image_dirs()
compare_images_batch(), compare_image_dirs(), passed_pairs()
passed_pairs()
if (FALSE) { results <- compare_image_dirs("baseline/", "current/") failed <- failed_pairs(results) nrow(failed) # Number of failures }
Run the code above in your browser using DataLab