% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/topic.R
\name{topic_origin}
\alias{topic_origin}
\title{Find the package where a topic's object originates}
\usage{
topic_origin(topic, package)
}
\arguments{
\item{topic}{A single string naming a topic.}

\item{package}{A package name.}
}
\value{
A single package name.
}
\description{
Determines which package supplies the object associated with a documented
topic. This resolves re-exported functions and imported objects to the
package where they originate. Results are cached alongside the package's
topic index, so repeated lookups are cheap.
}
\examples{
topic_origin("rnorm", "stats")
}
