should_show_types {readr} | R Documentation |
Determine whether column types should be shown
Description
Wrapper around getOption("readr.show_col_types")
that implements some fall
back logic if the option is unset. This returns:
-
TRUE
if the option is set toTRUE
-
FALSE
if the option is set toFALSE
-
FALSE
if the option is unset and we appear to be running tests -
NULL
otherwise, in which case the caller determines whether to show column types based on context, e.g. whethershow_col_types
or actualcol_types
were explicitly specified
Usage
should_show_types()
[Package readr version 2.1.5 Index]