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)
1.4.2
Created on 2019-01-08 by the reprex package (v0.2.1)
devel
Created on 2019-01-08 by the reprex package (v0.2.1.9000)