% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pkg.R
\name{pkg_search_deps}
\alias{pkg_search_deps}
\title{Packages to search for topics in a package's dependencies}
\usage{
pkg_search_deps(package)
}
\arguments{
\item{package}{A package name, or a path to the source directory of a
package.}
}
\value{
A character vector of package names.
}
\description{
\code{pkg_search_deps()} returns the packages whose topics \code{package}'s
documentation can link to: the packages declared in its \code{Depends},
\code{Imports}, and \code{Suggests} fields, followed by the \link[=pkg_search_base]{base packages}, which are always available. The result is
cached alongside the package's topic index, so it remains valid until
\code{\link[=pkg_cache_reset]{pkg_cache_reset()}} is called.
}
\examples{
pkg_search_deps("stats")
}
