Closed iembry closed 2 years ago
@iembry you want to use testCharacter
, and not testString
. testString
tests if the input is a single-element character vector, so the result you get is expected (and correct).
The naming here is confusing, but in this case, that's base R's fault, not mine.
@tdeenes Thank you for letting me know. I will change it to testCharacter
.
Hi, for your testString function, will you also include character fractions to return TRUE for being a string?
Please see the example below:
Thank you in advance.