Skip to contents

Main functions

desc_stats()
Statistics from DESCRIPTION files
loc_stats()
Internal calculation of Lines-of-Code Statistics
pkgstats()
Analyse statistics of one R package
pkgstats_summary()
Condense the output of pkgstats to summary statistics only
rd_stats()
Stats from '.Rd' files

Code Tagging Functions

ctags_install()
Install 'ctags' from a clone of the 'git' repository
ctags_test()
test a 'ctags' installation
tags_data()
use ctags and gtags to parse call data

Archive Trawl Functions

dl_pkgstats_data()
Download latest version of 'pkgstats' data
pkgstats_cran_current_from_full()
Reduce data.frame of full CRAN archive data to current packages only.
pkgstats_fns_from_archive()
Trawl a local CRAN archive to extract function names only from all packages
pkgstats_fns_update()
Update function names data from previous data and newly updated CRAN packages only.
pkgstats_from_archive()
Trawl a local CRAN archive and extract statistics from all packages
pkgstats_update()
Update pkgstats` data on GitHub release

Additional functions

extract_tarball()
Extract tarball of a package into temp directory and return path to extracted package
pkgstats_fn_names()
Extract names of all functions for one R package

Visualisation

plot_network()
Plot interactive visNetwork visualisation of object-relationship network of package.