powered by
NA is accepted and returned, probably as NA_character_
NA
NA_character_
trim(x)
character vector
# NOT RUN { s <- random_string(250); microbenchmark::microbenchmark(trim(s), trimws(s)) # trimws from R version 3.2 # }
Run the code above in your browser using DataLab