Hello,

I believe there is a bug in tools::toTitleCase, because it converts NAs
into the string "NA".

tools::toTitleCase(NA_character_)

The issue appears to be with the C function splitString since this also
returns "NA":

.Call('C_splitString', NA_character_, " -/\"()\n", PACKAGE = "tools")

Kind Regards,
Carl Ganz

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to