{read.abares} provides a number of
global options that can be set to control the behavior of the package.
These options can be set using the options() function in R,
but a helper function, read.abares_options() is provided
for more direct access and convenience.
{read.abares} provides a default user agent string of
read.abares but you can change it for your own use,
e.g., “the user agent should be different on continuous
integration services, and in development (based on, for instance, the
GitHub usernames of the developers).”1 You can change the user agent string using
the user_agent argument in the
read.abares_options():
{read.abares} will retry a download if it fails, up to a maximum
number of retries. By default, this is set to 3. You may
override this using the retries argument in the
read.abares_options():
{read.abares} defaults to a timeout_connect value of 20
seconds. You may override this using the timeout_connect
argument in the read.abares_options():
{read.abares} by default provides progress bars for long downloads
and details when importing some spatial files. You can change this to
reduce the messages that you receive but not turn off errors. Valid
options are: * “verbose” (default), * “minimal” (provides warning
messages and error messages), * “quiet” (provides error messages only).
This can be changed using the verbosity argument in the
read.abares_options():
1↩︎