shoulders {thankr} | R Documentation |
This function helps to identify what packages you depend on. It finds the maintainers and the number of packages they maintain.
shoulders(where = c("session", "library", "package"), package,
include_dependencies = TRUE)
where |
either look in the current loaded "session", your whole "library" or for a specific "package" |
package |
if |
include_dependencies |
if |
Note, if you do a package lookup you connect to a CRAN mirror.
A data.frame showing all packages you depend on with these three columns:
maintainer
The maintainer as in the DESCRIPTION file
no_packages
The number of packages of that maintainer
packages
A comma separated list of those packages
## Not run:
# identifies the packages currently loaded in your session
shoulders() # equal to shoulders("session")
# shows all maintainers of your package library
shoulders("library")
# find out about a specific package
# by default it lists all dependencies of that package as well
shoulders("package", "utils", include_dependencies = FALSE)
shoulders("package", "utils")
## End(Not run)