\HeaderA{getDependings}{A function to retrieve which packages depend on which}{getDependings}
\keyword{utilities}{getDependings}
\begin{Description}\relax
This function is used to list which packages are depending on other
packages within a CRAN style repository.
\end{Description}
\begin{Usage}
\begin{verbatim}
getDependings(repository, depLevel = c("Depends", "Suggests"), method="auto")
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{repository}] The URL of a \code{CRAN} style repository
\item[\code{depLevel}] Which dependency level to be using
\item[\code{method}] Download method to use.  Same as in \code{\LinkA{download.file}{download.file}}.
\end{ldescription}
\end{Arguments}
\begin{Value}
A list with an element for every package in the repository.  If a
particular package is not depended on by anything, then the value of
that element will be NULL, otherwise a character vector of every
package depending on it will be present.
\end{Value}
\begin{Author}\relax
Jeff Gentry
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{CRAN.packages}{CRAN.packages}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
z <- getDependings(contrib.url("http://bioconductor.org"))
\end{ExampleCode}
\end{Examples}


