Skip to content

pmap strips Date #358

@AkhilGNair

Description

@AkhilGNair

As title - purrr::pmap seems to strip date class.

print_date = function(b) b

b = as.Date("2012-03-22")

purrr::pmap(list(b), print_date)
#> [[1]]
#> [1] 15421

Not sure if this is intended? Caught me out though :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behaviormap 🗺️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions