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.


datacheckr documentation built on May 30, 2017, 6:05 a.m.