package_info: Get information about a package.

Description Usage Value Examples

View source: R/source.r

Description

Depending on the source, this is some subset of the fields in the packages DESCRIPTION

Usage

1
  package_info(source, package)

Value

a named list of fields, or NULL if package is not found.

Examples

1
2
3
4
5
6
7
offline_packages()
package_info(cran("source"), "ggplot2")
package_info(cran("binary"), "ggplot2")
package_info(installed(), "ggplot2")
package_info(github(), "ggplot2")

package_info(c(cran("source"), installed()), "abind")

hadley/packman documentation built on May 17, 2019, 11:04 a.m.