Learn R Programming

pkgndep (version 1.99.3)

Analyze Dependency Heaviness of R Packages

Description

A new metric named 'dependency heaviness' is proposed that measures the number of additional dependency packages that a parent package brings to its child package and are unique to the dependency packages imported by all other parents. The dependency heaviness analysis is visualized by a customized heatmap. The package is described in . We have also performed the dependency heaviness analysis on the CRAN/Bioconductor package ecosystem and the results are implemented as a web-based database which provides comprehensive tools for querying dependencies of individual R packages. The systematic analysis on the CRAN/Bioconductor ecosystem is described in . From 'pkgndep' version 2.0.0, the heaviness database includes snapshots of the CRAN/Bioconductor ecosystems for many old R versions.

Copy Link

Version

Install

install.packages('pkgndep')

Monthly Downloads

294

Version

1.99.3

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Zuguang Gu

Last Published

October 13th, 2023

Functions in pkgndep (1.99.3)

load_heaviness_timeline

Load heaviness statistics at all time points
is_parent

Test the parent-child relationship
load_pkg_namespace

Load NAMESPACE files of all packages
plot.pkgndep

Make the dependency heatmap
load_pkg_stat_snapshot

Load all package dependency statistics
loaded_packages

Loaded packages
load_pkg_downstream_dependency_path_snapshot

Load downstream dependency paths for all packages
load_pkg_description

Load DESCRIPTION files of all packages
reformat_db

Format the package database
required_dependency_packages

Required dependency packages
parent_dependency

Get parent dependency for a package
heaviness_database

Database of package dependency heaviness of all R packages
print.pkgndep

Print method
pkgndep

Package dependency analysis
upstream_dependency

Get upstream dependency for a package
pkgndep_opt

Global parameters for pkgndep
is_upstream

Test upstream-downstream relationship
load_pkg_db

Load package database
load_from_heaviness_db

Load pre-computed objects
load_all_pkg_dep

Load dependency analysis results of all packages
downstream_dependency

Get downstream dependency for a package
ALL_BIOC_RELEASES

All Bioconductor releases
co_heaviness

Co-heaviness for pairs of parent packages
dependency_website

Database of package dependency heaviness of all R packages
dependency_report

HTML report for package dependency heaviness analysis
dependency_database

Database of package dependency heaviness of all R packages
child_dependency

Get child dependency for a package
dependency_heatmap

Make the dependency heatmap
check_pkg

Check whether a package is available
all_pkg_stat_snapshot

The complete table of dependency heaviness for all CRAN/Bioconductor packages
heaviness_report

HTML report for package dependency heaviness analysis
heaviness_on_downstream

Heaviness on all downstream packages
heaviness_from_upstream

Heaviness from all upstream packages
gini_index

Gini index
get_all_functions_imported_to_children

Get functions that are imported to its child packages
heaviness_on_children

Heaviness on all child packages
heaviness

Heaviness from parent packages