Skip to content

interoperability between difftime and Duration objects #323

Description

@andreas50

I noticed some inconsistent date arithmetic behavior:

t1 <- Sys.time()
t2 <- t1 + dhours(1)
(t2 - t1) / dseconds(60) > 1    # TRUE
(t2 - t1) > dseconds(60)        # FALSE, but ought to be TRUE or at least give an error

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions