
Last chance! 50% off unlimited learning
Sale ends in
This function extracts information from an R package.
pkgInfo(pkg, leaveRemains = FALSE)
The compressed (tar.gz) build file of an R package.
Keep decompressed package in temp directory.
Package name
Version number
Imported packages
Suggested packages
Functions imported from other packages
Functions exported from package
All defined functions
Function arguments
Dimension information on data sets
Full package documentation
Generate package information from its build file.
# NOT RUN {
tarfile <- system.file("examples", "acepack_1.3-3.3.tar.gz", package = "packageDiff")
info <- pkgInfo(tarfile)
# }
# NOT RUN {
url <- 'https://cran.r-project.org/src/contrib/Archive/acepack/acepack_1.3-3.3.tar.gz'
info <- pkgInfo(url)
# }
Run the code above in your browser using DataLab