charVecToSingleLength | 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)) # -> ""
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.