Statistics from DESCRIPTION files

Description

Statistics from DESCRIPTION files

Usage

desc_stats(path)

Arguments

  • path: Directory to source code of package being analysed

Seealso

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

Concept

stats

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.

Examples

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)