New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling of Inf #732

Closed
tvatter opened this Issue Mar 21, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@tvatter

tvatter commented Mar 21, 2018

Hi,

I am not sure whether the following behavior is a bug or a feature, but I wasn't able to find an explanation in the documentation:

library(testthat)
Inf <= Inf
Inf >= Inf
expect_gte(Inf, Inf)
expect_lte(Inf, Inf)

The first two gives TRUE as expected, while the last two give an error.

@jimhester jimhester closed this in 55a79df Mar 29, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment