diff --git a/R/lint.R b/R/lint.R index ac90128..e789871 100644 --- a/R/lint.R +++ b/R/lint.R @@ -49,7 +49,7 @@ pkg_lifecycle_statuses <- function(package, which = c("superseded", "deprecated" res <- vctrs::vec_rbind(!!!res) # Filter funs without a lifecycle - if (!NA %in% which) { + if (!anyNA(which)) { res <- res[!is.na(res$lifecycle), ] }