Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/computeArgumentsCombination.R
Computes a priori legal combinations of function arguments, according to the
function definition (see formals).
Allows to foresee test complexity for a function, as this is in narrow relationship, with the number of various call signatures that could be used. The number of signatures is in itself a good indicator of complexity.
1 | computeArgumentsCombination(fun_f_1)
|
fun_f_1 |
an R function |
Computes an a priori legal list of argument signatures for the provided
function.
A list holding names, number and signatures, each of
them are list.
The names provides names of mandatory arguments, ellipsis (...)
arguments and of default arguments.
The number provides the number of replacements per argument.
The signatures are the resulting textual argument combinations.
Fabien Gelineau <neonira@gmail.com>
Maintainer: Fabien Gelineau <neonira@gmail.com>
Refer to testFunction
1 2 3 4 | # typical example
computeArgumentsCombination(append)
computeArgumentsCombination(kronecker)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.