Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
``` > library(rlistings) Loading required package: formatters Attaching package: ‘formatters’ The following object is masked from ‘package:base’: %||% Loading required package: tibble > result <- tibble::tibble(col1 = character(0L), col2 = character(0L), col3 = character(0L)) > > listing <- rlistings::as_listing(result) > > sprintf("Rows: %d // Columns: %d", nrow(listing), ncol(listing)) [1] "Rows: 0 // Columns: 3" > > print(listing) [1] "No observation in the listing object." ``` --------- Signed-off-by: Joe Zhu <sha.joe.zhu@gmail.com> Co-authored-by: André Veríssimo <211358+averissimo@users.noreply.github.com>
- Loading branch information