shoulders: Find Out Who Maintains the Packages you Use

Description Usage Arguments Details Value Examples

View source: R/shoulders.R

Description

This function helps to identify what packages you depend on. It finds the maintainers and the number of packages they maintain.

Usage

1
2
shoulders(where = c("session", "library", "package"), package,
  include_dependencies = TRUE)

Arguments

where

either look in the current loaded "session", your whole "library" or for a specific "package"

package

if where is "package" then this must be a character vector of positive length

include_dependencies

if where is "package" then use this to include all dependencies of the package. Otherwise it will just return the maintainer.

Details

Note, if you do a package lookup you connect to a CRAN mirror.

Value

A data.frame showing all packages you depend on with these three columns:

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## 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)

thankr documentation built on May 2, 2019, 7:27 a.m.

Related to shoulders in thankr...