Skip to content

as_tibble_row() #205

@krlmlr

Description

@krlmlr

Like as_tibble(), but expects atomics of length 1 or arbitrary objects and always wraps the latter with list(). Useful to undo the effects of dplyr::rowwise().

as_tibble_row(a = 1) == tibble(a = 1)
as_tibble_row(data = iris) == tibble(data = list(iris))

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