Bug in tools::toTitleCase

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug in tools::toTitleCase

Carl Ganz
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]]

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel