% 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{
omnipath_set_cachedir(path = NULL)
}
\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
be loaded from the database in the directory. If \code{NULL}, the
cache directory will be set to its default path.}
}
\value{
Returns \code{NULL}.
}
\description{
Change the cache directory
}
\examples{
tmp_cache <- tempdir()
omnipath_set_cachedir(tmp_cache)
# restore the default cache directory:
omnipath_set_cachedir()

}