should_inform_unspecified: Determine whether to inform about unspecified fields in spec

View source: R/spec_guess.R

should_inform_unspecifiedR Documentation

Determine whether to inform about unspecified fields in spec

Description

Wrapper around getOption("tibblify.show_unspecified") that implements some #' fall back logic if the option is unset. This returns:

Usage

should_inform_unspecified()

Details

  • TRUE if the option is set to TRUE

  • FALSE if the option is set to FALSE

  • FALSE if the option is unset and we appear to be running tests

  • TRUE otherwise

Value

TRUE or FALSE.


tibblify documentation built on May 29, 2024, 6:36 a.m.