better handling of NAs and c()
switching to roxygen 4.0