| 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:
-
TRUEif the option is set toTRUE -
FALSEif the option is set toFALSE -
FALSEif the option is unset and we appear to be running tests -
NULLotherwise, in which case the caller determines whether to show column types based on context, e.g. whethershow_col_typesor actualcol_typeswere explicitly specified
Usage
should_show_types()
[Package readr version 2.1.5 Index]