# NOT RUN {
all.equal(nchar0(NULL), TRUE)
# }
# NOT RUN {
# }
# NOT RUN {
all.equal(nchar0(character(0)), TRUE)
# }
# NOT RUN {
# }
# NOT RUN {
all.equal(nchar0(character(3)), TRUE)
# }
# NOT RUN {
# }
# NOT RUN {
all.equal(nchar0(c('a', 'c')), FALSE)
# }
Run the code above in your browser using DataLab