charVecToSingleLength {tinytest2JUnit} | R Documentation |
Convert any will character vector to a single length character vector
charVecToSingleLength(x)
x |
a |
x a single-length character vector Non-NA
tinytest2JUnit:::charVecToSingleLength(c("Hello", "World")) # -> "HelloWorld"
tinytest2JUnit:::charVecToSingleLength(c("Hello", NA_character_)) # -> "HelloNA"
tinytest2JUnit:::charVecToSingleLength(character(0L)) # -> ""