check_missing: Check missing formal argument

View source: R/check_missing.R

check_missingR Documentation

Check missing formal argument

Description

These functions check whether a value was specified as an argument to a function.

Usage

check_missing(x)

assert_missing(x)

test_missing(x)

Arguments

x

[any]
A formal argument.

Value

TODO

See Also

Other package helpers: Dictionary, Storage, find_namespace_calls(), identical_structure(), input_check_response(), match_arg(), package_logo(), print_data.frame(), print_matrix(), system_information(), unexpected_error(), user_confirm()

Examples

f <- function(x) {
  check_missing(x)
}
f()

g <- function(x) {
  test_missing(x)
}
g()

h <- function(x) {
  assert_missing(x)
}
## Not run: 
h()

## End(Not run)

oeli documentation built on June 8, 2025, 11:40 a.m.