Analyse statistics of one R package
Value
List of statistics and data on function call networks (or object relationships in other languages). Includes the following components:
loc: Summary of Lines-of-Code in all package directories
vignettes: Numbers of vignettes and "demo" files
data_stats: Statistics of numbers and sizes of package data files
desc: Summary of contents of 'DESCRIPTION' file
translations: List of translations into other (human) languages (where provides)
objects: A
data.frame
of all functions in R, and all other objects (functions, classes, structures, global variables, and more) in all other languagesnetwork: A
data.frame
of object references within and between all languages; in R these are function calls, but may be more abstract in other languages.external_calls: A
data.frame
of all calls make to all functions from all other R packages, including base and recommended as well as contributed packages.
See also
Other stats:
desc_stats()
,
loc_stats()
,
pkgstats_summary()
,
rd_stats()
Examples
# 'path' can be path to a package tarball:
f <- system.file ("extdata", "pkgstats_9.9.tar.gz", package = "pkgstats")
if (FALSE) { # \dontrun{
s <- pkgstats (f)
} # }
# or to a source directory:
path <- extract_tarball (f)
if (FALSE) { # \dontrun{
s <- pkgstats (path)
} # }