Skip to contents

Assert that there is no missignness in a particular vector

Usage

assert_non_missingness(
  x,
  arg = "x",
  call = rlang::caller_env(),
  add_err_msg = ""
)

Arguments

x

the vector to check

arg

the name of the vector to check

call

Calling environment to be passed to cli::cli_abort() for traceback.

add_err_msg

string containing an additional error message, default is the empty string ("")

Value

NULL, invisibly