test_all: test_all A function which stress tests an R function with...

Description Usage Arguments Value Examples

Description

test_all A function which stress tests an R function with user-defined inputs.

Usage

1
2
3
4
## S3 method for class 'testall_summary'
print(x, ...)

test_all(fun, input, output = NULL, cores = 1)

Arguments

x

an object of class testall_summary

...

arguments to be passed to the method

fun

an R function to test

input

a grid created with lazy_tester

output

not implemented yet

cores

an integer specifying the number of cores to use

Value

Returns a table with error information, i.e.

Examples

1
2
3
4
5
# NOT RUN:
my_sug <- test_all(mean, input = list(x = c('1','2','3')))
my_sug
# NOT RUN:
test_all(mean, list(x = c(1,2,3)))

andrebleier/testall documentation built on June 29, 2019, 12:12 a.m.