# NOT RUN {
x <- c('test', NA)
stri_paste(x, 1:2) # "test1" NA
paste(x, 1:2) # "test 1" "NA 2"
stri_paste(stri_replace_na(x), 1:2, sep=' ') # "test 1" "NA 2"
# }
Run the code above in your browser using DataLab