[Rd] keepNA in nchar and nzchar
wdunlap at tibco.com
Wed Mar 16 16:59:46 CET 2016
Is it intended that in yesterday's version of R-devel the default value of
keepNA is different in nchar (NA) and nzchar (FALSE)?
function (x, type = "chars", allowNA = FALSE, keepNA = NA)
function (x, keepNA = FALSE)
Is it intended that for keepNA=NA, nchar and nzchar do not
give concordant results?
> vapply(c(TRUE, FALSE, NA), function(keepNA) nchar(NA_character_,
 NA 2 NA
> vapply(c(TRUE, FALSE, NA), function(keepNA) nzchar(NA_character_,
 NA TRUE TRUE
 "R Under development (unstable) (2016-03-15 r70334)"
[[alternative HTML version deleted]]
More information about the R-devel