validCharacter(value, name = as.character(substitute(value)), validLength, validValues = "character", refuse.NULL = TRUE, method)
validClass(value, name = as.character(substitute(value)), validClass, superClasses = TRUE, method)
validDim_vector(value1, value2, name1 = as.character(substitute(value1)), name2 = as.character(substitute(value2)), type = "length", method)
validDim_matrix(value1, value2, name1 = as.character(substitute(value1)), name2 = as.character(substitute(value2)), type = "both", method)
validInteger(value, name = as.character(substitute(value)), validLength, validValues = NULL, min = NULL, max = NULL, refuse.NA = TRUE, refuse.NULL = TRUE, refuse.duplicates = FALSE, method)
validLogical(value, name = as.character(substitute(value)), validLength, refuse.NULL = TRUE, refuse.NA = TRUE, method)
validNames(value, name = as.character(substitute(value)), validLength = NULL, validValues = NULL, method)
validNumeric(value, name = as.character(substitute(value)), validLength, validValues = NULL , min = NULL, max = NULL, refuse.NA = TRUE, refuse.NULL = TRUE, refuse.duplicates = FALSE, method)
validPath(value, name = as.character(substitute(value)), method)
NA
an invalid value ? logical.NULL
an invalid value ? logical.validCharacter
checks whether value
is a character vector.validClass
checks whether value
belongs to the correct class of R objects.
validDim_vector
checks whether value1
is a vector matching the dimensions of value2
.
Argument type
indicates which operator should be used to measure the size of value2
among : "length"
, "nrow"
and "ncol"
.
validDim_matrix
checks whether value1
is a matrix matching the dimensions of value2
.
Argument type
indicates which operator should be used to measure the size of value2
among : "nrow"
, "ncol"
and "both"
, the latter indicating to use both nrow
and ncol
.
validInteger
checks whether value
is a integer vector.
validLogical
checks whether value
is a logical vector.
validNames
checks whether the names value
are valid.
validNumeric
checks whether value
is a numeric vector.
validPath
checks whether value
corresponds to a valid path.