Fixed return of list_depends to be a bit nicer for basic users but more detailed for those that need it (including this package)

This commit is contained in:
2022-06-16 13:35:21 +01:00
parent 2af88f907c
commit e460aefcb4
2 changed files with 23 additions and 4 deletions

View File

@@ -5,10 +5,16 @@
\title{Recursively find all the installed dependencies of one or more installed
packages.}
\usage{
list_depends(packages)
list_depends(packages, fullTree = FALSE)
}
\arguments{
\item{packages}{A character vector of packages to find dependencies of}
\item{fullTree}{A boolean to select the return type (See details)
The fullTree parameter can be used to provide only the packages and versions
required to re-build an environment of dependencies for the provided packages
or a table capable of being used to construct a full dependency tree.}
}
\value{
A data frame with the dependency tree