apply.argset: tests a function based on a set of parameters

Description Usage Arguments Details Author(s)

View source: R/stresstest.R

Description

tests a function provided to the argument FUN with argument value sets prepared earlier and stored in the default work environment and returns a vector with PASS/FAIL for every combination of input parameters.

Usage

1
2
apply.argset(env = NULL, arg_register = cont.env$arg_register, FUN,
  subset = NULL, verbose = FALSE, DEBUG = FALSE)

Arguments

env

work environment (if NULL, uses the default)

arg_register

an argument register that contains all argument 'states'

FUN

a name of the function to be tested (only as a character string)

subset

a vector with numbers of argsets to be applied to the function (i.e. only combinations with those numbers will be tested)

verbose

provides additional text output during processing

DEBUG

enters the debug mode on function entry

Details

An alternative work environment may be supplied in the future (not tested yet)

Author(s)

cloudcell


cloudcello/stresstest documentation built on May 13, 2019, 8:17 p.m.