assert_infinite: Check Infinite Values

View source: R/assert.R

assert_infiniteR Documentation

Check Infinite Values

Description

Checks if an object contains any infinite (Inf) values.

Usage

assert_infinite(x)

Arguments

x

An object to be checked.

Value

Throws an error, if any, and returns x invisibly otherwise.

Author(s)

N. Frerebeau

See Also

Other checking methods: assert_constant(), assert_dim(), assert_empty(), assert_length(), assert_lower(), assert_missing(), assert_names(), assert_numeric, assert_package(), assert_square(), assert_type(), assert_unique()


arkhe documentation built on April 4, 2025, 2:34 a.m.