Learn R Programming

pkgstats (version 0.1.1)

desc_stats: Statistics from DESCRIPTION files

Description

Statistics from DESCRIPTION files

Usage

desc_stats(path)

Arguments

path

Directory to source code of package being analysed

Value

A data.frame with one row and 16 columns extracting various information from the 'DESCRIPTION' file, include websites, tallies of different kinds of authors and contributors, and package dependencies.

See Also

Other stats: loc_stats(), pkgstats_summary(), pkgstats(), rd_stats()

Examples

Run this code
# NOT RUN {
f <- system.file ("extdata", "pkgstats_9.9.tar.gz", package = "pkgstats")
# have to extract tarball to call function on source code:
path <- extract_tarball (f)
desc_stats (path)
# }

Run the code above in your browser using DataLab