Learn R Programming

scoringutils (version 1.2.2)

check_not_null: Check Variable is not NULL

Description

Check whether a certain variable is not NULL and return the name of that variable and the function call where the variable is missing. This function is a helper function that should only be called within other functions

Usage

check_not_null(...)

Value

The function returns NULL, but throws an error if the variable is missing.

Arguments

...

The variables to check