View source: R/11.0-core-validators.R
| accumulate_validations | R Documentation |
Combines multiple validation results into a single result, aggregating errors, warnings, and info messages.
accumulate_validations(..., level = "combined")
... |
Validation result objects to combine |
level |
Overall validation level for the combined result |
An object of class fb4_validation (see
validation_result) representing the combined state of all
inputs. valid is TRUE only if all supplied results are
valid. errors and warnings are the concatenation of those
fields across all inputs.
r1 <- validation_result(valid = TRUE)
r2 <- validation_result(valid = FALSE, errors = "value out of range")
accumulate_validations(r1, r2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.