View source: R/run_validation.R
run_validation_file | R Documentation |
A validation script is a regular R script, intersperced with confront
or check_that
statements. This function will run the script file
and capture all output from calls to these functions.
run_validation_file(file, verbose = TRUE)
run_validation_dir(dir = "./", pattern = "^validate.+[rR]", verbose = TRUE)
## S3 method for class 'validations'
print(x, ...)
## S3 method for class 'validations'
summary(object, ...)
file |
|
verbose |
|
dir |
|
pattern |
|
x |
An R object |
... |
Unused |
object |
An R object |
run_validation_file
: An object of class validations
. This is
a list
of objects of class validation
.
run_validation_dir
: An object of class validations
. This is
a list
of objects of class validation
.
print
: NULL
, invisibly.
summary
: A data frame similar to the data frame returned
when summarizing a validation
object. There are extra columns listing
each call, file and first and last line where the code occurred.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.