Skip to contents

Restore the built-in default values of all config parameters of a package

Restore the built-in default values of all config parameters of OmnipathR

Usage

reset_config(save = NULL, reset_all = FALSE, pkg = "OmnipathR")

omnipath_reset_config(...)

Arguments

save

If a path, the restored config will be also saved to this file. If TRUE, the config will be saved to the current default config path (see omnipath_config_path).

reset_all

Reset to their defaults also the options already set in the R options.

pkg

Character: name of a package

...

Ignored.

Value

The config as a list.

Examples

if (FALSE) { # \dontrun{
# restore the defaults and write them to the default config file:
omnipath_reset_config()
omnipath_save_config()
} # }