Skip to content
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
Closed

Handling of Inf #732

tvatter opened this issue Mar 21, 2018 · 0 comments

Comments

@tvatter
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant