seekr_option() returns the resolved value of a single seekr option.
It first checks whether the user has set the option with base::options().
If not, it returns the package default. The returned value is validated before
being returned.
This function is mostly useful for seekr's own default arguments, such as:
In most cases, users should configure seekr with base::options() and inspect
available options with seekr_options().
Arguments
- name
Name of the seekr option to retrieve, as a single string. See
seekr_options()for the list of valid names.
Value
The resolved option value. The returned type depends on the option:
logicalforseekr.progress.characterfor all other options (paths, print symbols, and ANSI style codes).
See also
seekr_options() to list all available options and their defaults.
