man/omnipath_set_cachedir.Rd
a377d94c
 % Generated by roxygen2: do not edit by hand
 % Please edit documentation in R/cache.R
 \name{omnipath_set_cachedir}
 \alias{omnipath_set_cachedir}
 \title{Change the cache directory}
 \usage{
550ba30c
 omnipath_set_cachedir(path = NULL)
a377d94c
 }
 \arguments{
 \item{path}{Character: path to the new cache directory. If don't exist,
 the directories will be created. If the path is an existing cache
 directory, the package's cache database for the current session will
550ba30c
 be loaded from the database in the directory. If \code{NULL}, the
 cache directory will be set to its default path.}
a377d94c
 }
 \value{
 Returns \code{NULL}.
 }
 \description{
 Change the cache directory
 }
 \examples{
 tmp_cache <- tempdir()
 omnipath_set_cachedir(tmp_cache)
 # restore the default cache directory:
550ba30c
 omnipath_set_cachedir()
a377d94c
 
 }