[Rd] Bug in tools::toTitleCase

Carl Ganz carlganz at gmail.com
Thu Aug 24 23:17:15 CEST 2017


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



More information about the R-devel mailing list