Get or set global options affecting functions across readtext.

readtext_options(..., reset = FALSE, initialize = FALSE)

## Arguments

... options to be set, as key-value pair, same as options. This may be a list of valid key-value pairs, useful for setting a group of options at once (see examples). logical; if TRUE, reset all readtext options to their default values logical; if TRUE, reset only the readtext options that are not already defined. Used for setting initial values when some have been defined previously, such as in .Rprofile.

## Value

When called using a key = value pair (where key can be a label or quoted character name)), the option is set and TRUE is returned invisibly.

When called with no arguments, a named list of the package options is returned.

When called with reset = TRUE as an argument, all arguments are options are reset to their default values, and TRUE is returned invisibly.

## Details

Currently available options are:

verbosity

Default verbosity for messages produced when reading files. See readtext.

## Examples

# \donttest{
# save the current options
#> [1] 1
#>
# set higher verbosity

# }