R/internal_functions.R

Defines functions no_na

## internal functions, not exported to the user

## wrapper on na.omit that silences warnings when applied to NULL objects
no_na <- function(z) if (is.null(z)) suppressWarnings(na.omit(z)) else na.omit(z)
SCAR/antanym documentation built on Sept. 13, 2022, 6:27 p.m.