pkgInfo: Extract Package Information

Description Usage Arguments Details Value Examples

View source: R/pkgInfo.R

Description

This function extracts information from an R package.

Usage

1
pkgInfo(pkg, leaveRemains = FALSE)

Arguments

pkg

The compressed (tar.gz) build file of an R package.

leaveRemains

Keep decompressed package in temp directory.

Details

Generate package information from its build file.

Value

Package

Package name

Version

Version number

Imports

Imported packages

Suggests

Suggested packages

ImportedFunctions

Functions imported from other packages

ExportedFunctions

Functions exported from package

AllFunctions

All defined functions

FormalArgs

Function arguments

Data

Dimension information on data sets

documentation

Full package documentation

Examples

1
2
3
4
5
tarfile <- system.file("examples", "acepack_1.3-3.3.tar.gz", package = "packageDiff")
info <- pkgInfo(tarfile)

url <- 'https://cran.r-project.org/src/contrib/Archive/acepack/acepack_1.3-3.3.tar.gz'
info <- pkgInfo(url)

packageDiff documentation built on Jan. 16, 2020, 5 p.m.