Learn R Programming

datacheckr (version 0.2.0.9002)

check_null: Check NULL

Description

Checks object is NULL.

Usage

check_null(x, x_name = substitute(x))

Arguments

x
The object to check.
x_name
A string of the name of the object.

Value

Throws an informative error or returns NULL.