percent_pass_validation: Percent of passing validation results

View source: R/validation-results.R

percent_pass_validationR Documentation

Percent of passing validation results

Description

Gives the overall percentage of validation results that are passing.

Usage

percent_pass_validation(results)

Arguments

results

A list of 'dccvalidator' results, which are of the type 'check_pass', 'check_fail', or 'check_warn'.

Value

Percent of validation checks passed, rounded to the nearest whole number. Returns 0 if 'results' is 'NULL' or if all checks in 'results' are 'NULL'.


Sage-Bionetworks/dccmonitor documentation built on May 28, 2022, 10:39 a.m.