handleError(x, err, code = "all", replace = NULL, na = TRUE, keep.error = FALSE)
x
.code = "all"
(default), any code different from zero will be flagged.na = FALSE
.TRUE
(default) flagged errors are replaced with NA's.TRUE
the function returns x
. Otherwise, it will replace flagged errors as specified.x
if keep.error = TRUE
or the modified vector x
if keep.error = FALSE
.