Skip to content

cumany and missing values #408

@hadley

Description

@hadley

cumany()/cumall() should always be NA after the first NA is seen. Currently:

cumany(c(NA, NA, NA))
# [1]   NA TRUE TRUE
cumall(c(NA, NA, NA))
# [1] NA TRUE TRUE

Metadata

Metadata

Labels

bugan unexpected problem or unintended behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions