Skip to contents

A convenience function to get or set options used by read.abares.

Usage

read.abares_options(...)

Arguments

...

Named options to set, or no arguments to retrieve current values.

Value

A list of current option values.

See also

Other read.abares-options: read.abares-options

Examples

# See currently set options for {read.abares}
read.abares_options()
#> $read.abares.max_tries
#> [1] 3
#> 
#> $read.abares.timeout
#> [1] 5000
#> 
#> $read.abares.timeout_connect
#> [1] 20
#> 
#> $read.abares.user_agent
#> [1] "read.abares R package 2.0.0 https://github.com/adamhsparks/read.abares"
#> 
#> $read.abares.verbosity
#> [1] "verbose"
#> 

# Set to "verbosity" to "quiet" suppress messages
read.abares_options(read.abares.verbosity = "quiet")
read.abares_options()
#> $read.abares.max_tries
#> [1] 3
#> 
#> $read.abares.timeout
#> [1] 5000
#> 
#> $read.abares.timeout_connect
#> [1] 20
#> 
#> $read.abares.user_agent
#> [1] "read.abares R package 2.0.0 https://github.com/adamhsparks/read.abares"
#> 
#> $read.abares.verbosity
#> [1] "quiet"
#>