Package Directives and Collaboration Networks in CRAN

Provides core visualisations and summaries for the CRAN package database. The package provides comprehensive methods for cleaning up and organising the information in the CRAN package database, for building package directives networks (depends, imports, suggests, enhances, linking to) and collaboration networks, producing package dependence trees, and for computing useful summaries and producing interactive visualisations from the resulting networks. The package also provides functions to coerce the networks to 'igraph' <> objects for further analyses and modelling.


cranly 0.2

Bug fixes

  • handling of duplicated packages in clean_CRAN_db
  • various regex imporvements
  • Better handling of packages with . in their names

New functionality

  • clean_CRAN_db now accepts the matrix from available.packages
  • new extractors for cranly_network objects: suggests, depends, linking_to, imports
  • compute_dependence_tree is a recursion to compute all generations of a package (i.e. what else is installed)
  • build_dependence_tree and a plot method for extracting the dependence tree fo a package
  • summary method for cranly_dependence_tree tree objects, reporting package dependence index, parents and depth

Other improvements, updates and addition

  • Added support for LinkingTo (thanks to Dirk Eddelbuettel for raising the issue)
  • Added acknowledgement to Turing Institute
  • plot methods return legend and title by default

cranly 0.1

  • First public release

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.2 by Ioannis Kosmidis, 8 months ago

Report a bug at

Browse source code at

Authors: Ioannis Kosmidis [aut, cre] >)

Documentation:   PDF Manual  

GPL-3 license

Imports visNetwork, colorspace, igraph, magrittr, stringr, ggplot2, countrycode

Suggests testthat, knitr, rmarkdown, covr

See at CRAN