check_not_null: Check Variable is not NULL

Description Usage Arguments Value

View source: R/utils.R

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

1

Arguments

...

The variables to check

Value

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


nikosbosse/scoringutils2 documentation built on Jan. 8, 2021, 12:12 p.m.