asTibbleDS {dsTidyverse} | R Documentation |
Coerce a data frame or matrix to a tibble
Description
DataSHIELD implementation of tibble::as_tibble
. Currently only implemented for data frames and matrices.
Usage
asTibbleDS(tidy_expr, x, .rows, .name_repair, rownames)
Arguments
tidy_expr |
Unused in present function. |
x |
A data frame or matrix. |
.rows |
The number of rows, useful to create a 0-column tibble or just as an additional check. |
.name_repair |
Treatment of problematic column names:
|
rownames |
How to treat existing row names of a data frame or matrix:
|
Value
A tibble.