Skip to content

replace_na(NA, 0) returning FALSE in tidyr 1.2.0 (instead of 0 as in earlier versions) #1317

Closed
@fabiangehring

Description

@fabiangehring

We just descovered a breaking change of replace_na in tidyr 1.2.0.
In earlier versions tidyr::replace_na(NA, 0) returned 0 (expected). In 1.2.0 it returns FALSE (unexpected).

tidyr::replace_na(NA, 0) #returning FALSE instead of 0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions