computeArgumentsCombination {wyz.code.metaTesting} | R Documentation |
Compute Function Arguments Combination
Description
Computes a priori legal combinations of function arguments, according to the
function definition (see formals
).
Usage
computeArgumentsCombination(fun_f_1)
Arguments
fun_f_1 |
an R |
Details
Computes an a priori legal list
of argument signatures for the provided
function.
Allows to foresee test complexity for a function, as this is in narrow relationship, with the number of various call signatures that should be tested. The number of signatures is in itself a good indicator of complexity.
Value
A list
containing following named list
names | names of mandatory arguments , ellipsis (...)
arguments and of default arguments. |
number | The number provides the number of replacements per argument. |
signatures | The signatures are the resulting textual argument combinations. |
Author(s)
Fabien Gelineau <neonira@gmail.com>
Maintainer: Fabien Gelineau <neonira@gmail.com>
See Also
Refer to testFunction
Examples
# typical example
computeArgumentsCombination(append)
computeArgumentsCombination(kronecker)
[Package wyz.code.metaTesting version 1.1.22 Index]