Learn R Programming

odiffr (version 0.5.1)

passed_pairs: Get Passed Comparisons from Batch Results

Description

Extract only the passed (matching) comparisons from batch results.

Usage

passed_pairs(object)

Value

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

Arguments

object

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

See Also

compare_images_batch(), compare_image_dirs(), failed_pairs()

Examples

Run this code
if (FALSE) {
results <- compare_image_dirs("baseline/", "current/")
passed <- passed_pairs(results)
nrow(passed)  # Number of passing comparisons
}

Run the code above in your browser using DataLab