doCheck: Checking a User's doOne
Description
doCheck() checks, if possible, a user's doOne() function for
return objects of correct sizes.
Usage
doCheck(doOne, vList, nChks = ng, verbose = TRUE)
Arguments
- doOne
a user-supplied function for computing one
row of the (physical) grid.
- vList
a list of variable specifications. Each
variable spec is itself a named list which must contain a
"value" component.
- nChks
number of rows randomly picked from the (physical) grid
which are used for a basic test of the evaluation and return value
of doOne().
- verbose
logical indicating whether check output
is displayed.
Author
Marius Hofert and Martin Maechler.