Learn R Programming

datacheckr (version 0.2.0.9002)

check_int: Checks Int

Description

Checks Int

Usage

check_int(x, x_name = substitute(x))

Arguments

x
The scalar integer to check.
x_name
A string of the name of x.

Value

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

Examples

Run this code
try(check_int(1))

Run the code above in your browser using DataLab