check_number: Checks Number

Description Usage Arguments Value

View source: R/check-scalar.R

Description

Checks Number

Usage

1
check_number(x, x_name = substitute(x))

Arguments

x

The number to check.

x_name

A string of the name of x.

Value

Throws an informative error or returns an invisible copy of x.


poissonconsulting/deckr documentation built on March 18, 2021, 10:37 a.m.