Learn R Programming

odiffr (version 0.5.1)

failed_pairs: Get Failed Comparisons from Batch Results

Description

Extract only the failed (non-matching) comparisons from batch results.

Usage

failed_pairs(object)

Value

A tibble or data.frame containing only rows where match is FALSE.

Arguments

object

An odiffr_batch object from compare_images_batch() or compare_image_dirs().

See Also

compare_images_batch(), compare_image_dirs(), passed_pairs()

Examples

Run this code
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