Skip to content

as_tibble.matrix() failures #558

@krlmlr

Description

@krlmlr

1.4.2

library(tibble)
as_tibble(diag(3), validate = TRUE)
#> # A tibble: 3 x 3
#>      V1    V2    V3
#>   <dbl> <dbl> <dbl>
#> 1     1     0     0
#> 2     0     1     0
#> 3     0     0     1

Created on 2019-01-08 by the reprex package (v0.2.1)

devel

library(tibble)
as_tibble(diag(3), validate = TRUE)
#> Warning: `as_tibble.matrix()` requires a matrix with column names or a `.name_repair` argument. Using compatibility `.name_repair`.
#> This warning is displayed once per session.
#> Error in .name_repair != name_repair: comparison (2) is possible only for atomic and list types

Created on 2019-01-08 by the reprex package (v0.2.1.9000)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions