Skip to content

Tidy dots in bind_rows(), bind_cols() and combine() #3407

@krlmlr

Description

@krlmlr

to resolve ambiguity when these functions are used with just one argument, see #3387 (comment):

library(tidyverse)
combine(list(1))
#> [1] 1
combine(list(1), list(2))
#> [[1]]
#> [1] 1
#> 
#> [[2]]
#> [1] 2

Created on 2018-03-12 by the reprex package (v0.2.0).

The first call should also return a list, if unpacking is desired, the user can use combine(!!!list(1)) (which currently doesn't work).

Implement new verbs, or support a compatibility argument via pkgconfig.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions