is_vector_all_na: Checks if the passed vector contains only NAs.

View source: R/vector.R

is_vector_all_naR Documentation

Checks if the passed vector contains only NAs.

Description

Checks if the passed vector contains only NAs.

Usage

is_vector_all_na(value)

Arguments

value

The value to check

Examples

## Not run: 
# For assertion
assertthat::assert_that(
  qscheck::is_vector_all_na(my_parameter)
)
# For check
if (qscheck::is_vector_all_na(my_parameter)) {}

## End(Not run)


AstraZeneca/qscheck documentation built on Nov. 1, 2023, 4:45 a.m.