Skip to contents

Extracted from .onLoad() to allow direct unit testing. Sets package-level defaults for the retry behaviour shared by every read_*() and collect_tern_data() call:

  • nert.max_tries — integer, default 3L

  • nert.initial_delay — integer (seconds), default 1L

Usage

.init_nert_options()

Value

NULL, invisibly. Called for its side effect on base::options().

Details

Existing user-set values (e.g. set in .Rprofile or via base::options() before library(nert)) are preserved; only unset options are populated with defaults.