R/any-na.R

Defines functions anyNA.nlists anyNA.nlist

#' @export
anyNA.nlist <- function(x, recursive = FALSE) {
  anyNA(unclass(x), recursive = TRUE)
}

#' @export
anyNA.nlists <- function(x, recursive = FALSE) {
  x <- lapply(x, unclass)
  anyNA(unclass(x), recursive = TRUE)
}

Try the nlist package in your browser

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

nlist documentation built on June 8, 2025, 9:41 p.m.