Learn R Programming

pkgstats (version 0.1.1)

Metrics of R Packages

Description

Static code analyses for R packages using the external code-tagging libraries "ctags" and "gtags". Static analyses enable packages to be analysed very quickly, generally a couple of seconds at most. The package also provides access to a database generating by applying the main function to the full CRAN archive, enabling the statistical properties of any package to be compared with all other CRAN packages.

Copy Link

Version

Install

install.packages('pkgstats')

Monthly Downloads

2

Version

0.1.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Mark Padgham

Last Published

June 21st, 2022

Functions in pkgstats (0.1.1)

pkgstats_from_archive

Trawl a local CRAN archive and extract statistics from all packages
pkgstats_fns_from_archive

Trawl a local CRAN archive to extract function names only from all packages
rd_stats

Stats from '.Rd' files
plot_network

Plot interactive visNetwork visualisation of object-relationship network of package.
tags_data

use ctags and gtags to parse call data
pkgstats_summary

Condense the output of pkgstats to summary statistics only
loc_stats

Internal calculation of Lines-of-Code Statistics
ctags_test

test a 'ctags' installation
pkgstats

Analyse statistics of one R package
pkgstats-package

pkgstats: Metrics of R Packages
pkgstats_fn_names

Extract names of all functions for one R package
extract_tarball

Extract tarball of a package into temp directory and return path to extracted package
ctags_install

Install 'ctags' from a clone of the 'git' repository
desc_stats

Statistics from DESCRIPTION files
dl_pkgstats_data

Download latest version of 'pkgstats' data