man/omnipath_save_config.Rd
17c08fe7
 % Generated by roxygen2: do not edit by hand
 % Please edit documentation in R/options.R
 \name{omnipath_save_config}
 \alias{omnipath_save_config}
 \title{Save the current package configuration}
 \usage{
 omnipath_save_config(path = NULL, title = "default", local = FALSE)
 }
 \arguments{
 \item{path}{Path to the config file. Directories and the file will be
 created if don't exist.}
 
 \item{title}{Save the config under this title. One config file might
be7aed38
 contain multiple configurations, each identified by a title.}
17c08fe7
 
 \item{local}{Save into a config file in the current directory instead of
be7aed38
 a user level config file. When loading, the config in the current
 directory has priority over the user level config.}
17c08fe7
 }
4319b67b
 \value{
 Returns `NULL`.
 }
17c08fe7
 \description{
 Save the current package configuration
 }
 \examples{
ae1e1c52
 \dontrun{
17c08fe7
 # after this, all downloads will default to commercial licenses
 # i.e. the resources that allow only academic use will be excluded:
 options(omnipath.license = 'commercial')
 omnipath_save_config()
 }
 
 }