pkgInfo {packageDiff} | R Documentation |
Extract Package Information
Description
This function extracts information from an R package.
Usage
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
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)
[Package packageDiff version 0.1 Index]