Skip to contents

A tibble with all R object type hints together with their id. The latter can be fed to type().

Usage

data_types

Format

A tibble with the columns id, value, and has_length.

See also

roxygen2 label functions data_roxy_lbls, description_lbl(), param_lbl(), return_lbl(), roxy_lbl(), roxy_lbls(), title_lbl(), type()

Examples

pkgsnip::data_types
#> # A tibble: 6 × 3
#>   id            value                                               has_length
#>   <chr>         <chr>                                               <lgl>     
#> 1 chr           [`character({length})`][base::character]            TRUE      
#> 2 date          [`Date`][base::Date]                                FALSE     
#> 3 int           [`integer({length})`][base::integer]                TRUE      
#> 4 lgl           [`logical({length})`][base::logical]                TRUE      
#> 5 num           [`numeric({length})`][base::numeric]                TRUE      
#> 6 pg_connection [`PqConnection`][RPostgres::dbGetInfo_PqConnection] FALSE