setDefaultArgumentsGenerationContext {wyz.code.metaTesting} | R Documentation |
Set default arguments generation context.
Description
Set default arguments generation context
Usage
setDefaultArgumentsGenerationContext(useDefaultArguments_b_1 = TRUE,
useAllDefaultArguments_b_1 = FALSE)
Arguments
useDefaultArguments_b_1 |
a single |
useAllDefaultArguments_b_1 |
A single |
Value
A list
holding the provided values, allowing easy reuse either interactively
or programmatically, accessible through names
use
, and use_all
.
Predefined variables named default_arguments_context
and dac
hold most common definition cases. Very helpfull as it simplifies reuses and reduces code
length.
Author(s)
Fabien Gelineau <neonira@gmail.com>
Maintainer: Fabien Gelineau <neonira@gmail.com>
Examples
# a typical instanciation
mydgc <- list(
setDefaultArgumentsGenerationContext(FALSE, FALSE),
setDefaultArgumentsGenerationContext(TRUE, FALSE),
setDefaultArgumentsGenerationContext(TRUE, TRUE)
)
# uses predefined variable
print(dac$partial)
[Package wyz.code.metaTesting version 1.1.22 Index]