rd_stats

Stats from ‘.Rd’ files

Description

Stats from ‘.Rd’ files

Usage

rd_stats(path)

Arguments

Argument

Description

path

Directory to source code of package being analysed

Value

A data.frame of function names and numbers of parameters and lines of documentation for each, along with mean and median numbers of characters used to document each parameter.

Seealso

Other stats: desc_stats , loc_stats , pkgstats_summary , pkgstats

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)
rd_stats (path)