inst/testpkg/R/utils.R

#' Count NAs in vectors
#'
#' @param ... Vectors
#' @return Are there any NAs in any vectors?
any_nas <- function(...){
  values <- list(...)
  any(is.na(unlist(values)))
}

Try the docreview package in your browser

Any scripts or data that you put into this service are public.

docreview documentation built on Aug. 17, 2021, 9:06 a.m.