View source: R/computeArgumentsCombination.R
computeArgumentsCombination | R Documentation |
Computes a priori legal combinations of function arguments, according to the
function definition (see formals
).
computeArgumentsCombination(fun_f_1)
fun_f_1 |
an R |
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.
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. |
Fabien Gelineau <neonira@gmail.com>
Maintainer: Fabien Gelineau <neonira@gmail.com>
Refer to testFunction
# typical example
computeArgumentsCombination(append)
computeArgumentsCombination(kronecker)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.