From carlganz at gmail.com  Thu Aug 24 23:17:15 2017
From: carlganz at gmail.com (Carl Ganz)
Date: Thu, 24 Aug 2017 14:17:15 -0700
Subject: [Rd] Bug in tools::toTitleCase
Message-ID: <CALbY4SOyzJaa0gSHy4Utwz6_JkYi6kSw0OXGc-BH7QoxmRv_eg@mail.gmail.com>

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



[Rd] Bug in tools::toTitleCase
Carl Ganz