Coerces to Verbose object.
## Static method (use this):
## Arguments$getVerbose(verbose, defaultThreshold=-1, useNullVerbose=TRUE, ...,
## .name=NULL)## Don't use the below:
# S3 method for Arguments
getVerbose(static, verbose, defaultThreshold=-1, useNullVerbose=TRUE, ..., .name=NULL)
Returns a Verbose
(or a NullVerbose
) object.
A single object. If a Verbose
, it is immediately
returned. If a numeric
value, it is used as the threshold.
Otherwise the object is coerced to a logical
value and if TRUE
,
the threshold is defaultThreshold
.
A numeric
value for the default threshold, if
verbose
was interpreted as a logical
value.
If verbose
can be interpreted as FALSE
,
return a NullVerbose
object if TRUE
.
Passed to the constructor of Verbose
.
A character
string for name used in error messages.
Henrik Bengtsson
For more information see Arguments
.