tbl_ptype: Return a prototype of a tbl

Description Usage

View source: R/colwise.R

Description

Used in _if functions to enable type-based selection even when the data is lazily generated. Should either return the complete tibble, or if that can not be computed quickly, a 0-row tibble where the columns are of the correct type.

Usage

1
tbl_ptype(.data)

javifar/TIDYVERSE-DPLYR documentation built on Dec. 20, 2021, 9:08 p.m.