methylKit icon indicating copy to clipboard operation
methylKit copied to clipboard

Reduce number of dependencies

Open alexg9010 opened this issue 6 years ago • 2 comments

Based on the new badge showing all package deps https://bioconductor.org/packages/release/bioc/html/methylKit.html#since introduced on Bioc we are having 87 deps in total. image

I was dazzled to see that we have ggplot2 (plus bunch of its deps) in this list, as we are not using it, but this is required by qvalue package as it seems. image

That means we can probably reduce our deps by half if we put the qvalue package into the suggests namespace and explicitly check for it on function calls. Anyways, people with the package already installed won't check the difference, it will be just for us to have less deps that can break our releases.

alexg9010 avatar Jul 26 '19 08:07 alexg9010

Dependencies can be easily tracked with https://cran.r-project.org/web/packages/miniCRAN/vignettes/miniCRAN-dependency-graph.html .

alexg9010 avatar Jul 26 '19 08:07 alexg9010

we could probably also have rtracklayer as an optional dependency.

alexg9010 avatar Aug 02 '19 15:08 alexg9010