library(patchwork) knitr::opts_chunk$set(echo = FALSE, warning = FALSE, message = FALSE) options(knitr.table.format = "html")
The goal of this notebook is to perform an initial analasis of the CRAN package network which will lead to a number of experiment ideas for future work. Two different types of package networks have been created:
Suggests
relationDepends
and Imports
relationA basic summary of graph statistics is presented in the table below:
drake::readd(graphs_summary) %>% knitr::kable() %>% kableExtra::kable_styling(full_width = FALSE)
As we are investigating package dependencies only the in degrees will be considered. The histogram of in degrees for both graphs are depicted in the following pictures:
drake::readd(degree_hist_plot_suggests_graph) + drake::readd(degree_hist_plot_depends_graph)
Both graphs follow a power distribution and are on the less dense side. The difference between those graphs is that one is a DAG and the other is not, however this is not a surprise as the Depends graph should be a DAG while the suggests graph might contain crossdependcies between popular document and testing frameworks.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.