Skip to content

Warn with, or implement, drop = TRUE ? #1570

Open
@krlmlr

Description

@krlmlr

Should this give a warning?

x <- tibble::tibble(a = 1:3, b = 2:4)

x[1, , drop = TRUE]
#> # A tibble: 1 × 2
#>       a     b
#>   <int> <int>
#> 1     1     2

Created on 2024-03-12 with reprex v2.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions