Rev 49233 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File src/library/tools/man/getDepList.Rd% Part of the R package, http://www.R-project.org% Copyright 2008-9 R Core Development Team% Distributed under GPL 2 or later\name{dependsOnPkgs}\alias{dependsOnPkgs}\title{Find Reverse Dependencies}\description{Find \sQuote{reverse} dependencies of packages, that is those packageswhich depend on this one, and (optionally) so on recursively.}\usage{dependsOnPkgs(pkgs, dependencies = c("Depends", "Imports", "LinkingTo"),recursive = TRUE, lib.loc = NULL,installed = installed.packages(lib.loc, fields = "Enhances"))}\arguments{\item{pkgs}{a character vector of package names.}\item{dependencies}{a character vector listing the types ofdependencies, a subset of \code{c("Depends", "Imports", "LinkingTo","Suggests", "Enhances")}.}\item{recursive}{logical: should reverse dependencies of reversedependencies (and so on) be included?}\item{lib.loc}{a character vector of \R library trees, or \code{NULL}for all known trees (see \code{\link{.libPaths}}).}\item{installed}{a result of calling \code{\link{installed.packages}}.}}\value{A character vector of package names, which does not include any from\code{pkgs}.}\examples{## there are few dependencies in a vanilla R installationdependsOnPkgs("lattice")}\keyword{utilities}