Skip to content

Handling of Inf #732

Closed
Closed

Description

@tvatter

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.

Activity

  1. added a commit that references this issue on Feb 15, 2024
    55a79df
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions