check_int: Check if a variable is a positive integer or not

View source: R/check.R

check_intR Documentation

Check if a variable is a positive integer or not

Description

Can be used to test arguments that need to be integers

Usage

check_int(variable)

Arguments

variable

Variable to test

Value

No return value. Will print an error message if checking fail.


purgeR documentation built on May 29, 2024, 7:24 a.m.