test_if_missing: Test if the input is Missing

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Test if the input is Missing

Usage

1

Arguments

x

object

Value

an error if input (x) is not specified

Examples

1
2
3
4
5
6
7
8
## Not run: 
# success
my_test <- x
test_if_null(my_test)
#fail
test_if_missing()

## End(Not run)

naniar documentation built on Sept. 10, 2018, 5:05 p.m.