Cargando…
Pkgndep: a tool for analyzing dependency heaviness of R packages
SUMMARY: Numerous R packages have been developed for bioinformatics analysis in the last decade and dependencies among packages have become critical issues to consider. In this work, we proposed a new metric named dependency heaviness that measures the number of dependencies that a parent uniquely b...
Autores principales: | , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Oxford University Press
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9438947/ https://www.ncbi.nlm.nih.gov/pubmed/35801905 http://dx.doi.org/10.1093/bioinformatics/btac449 |
_version_ | 1784781940839153664 |
---|---|
author | Gu, Zuguang Hübschmann, Daniel |
author_facet | Gu, Zuguang Hübschmann, Daniel |
author_sort | Gu, Zuguang |
collection | PubMed |
description | SUMMARY: Numerous R packages have been developed for bioinformatics analysis in the last decade and dependencies among packages have become critical issues to consider. In this work, we proposed a new metric named dependency heaviness that measures the number of dependencies that a parent uniquely brings to a package and we proposed possible solutions for reducing the complexity of dependencies by optimizing the use of heavy parents. We implemented the metric in a new R package pkgndep which provides an intuitive way for dependency heaviness analysis. Based on pkgndep, we additionally performed a global analysis of dependency heaviness on CRAN and Bioconductor ecosystems and we revealed top packages that have significant contributions of high dependency heaviness to their child packages. AVAILABILITY AND IMPLEMENTATION: The package pkgndep and documentations are freely available from the Comprehensive R Archive Network https://cran.r-project.org/package=pkgndep. The dependency heaviness analysis for all 22 076 CRAN and Bioconductor packages retrieved on June 8, 2022 are available at https://pkgndep.github.io/. SUPPLEMENTARY INFORMATION: Supplementary data are available at Bioinformatics online. |
format | Online Article Text |
id | pubmed-9438947 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | Oxford University Press |
record_format | MEDLINE/PubMed |
spelling | pubmed-94389472022-09-06 Pkgndep: a tool for analyzing dependency heaviness of R packages Gu, Zuguang Hübschmann, Daniel Bioinformatics Applications Note SUMMARY: Numerous R packages have been developed for bioinformatics analysis in the last decade and dependencies among packages have become critical issues to consider. In this work, we proposed a new metric named dependency heaviness that measures the number of dependencies that a parent uniquely brings to a package and we proposed possible solutions for reducing the complexity of dependencies by optimizing the use of heavy parents. We implemented the metric in a new R package pkgndep which provides an intuitive way for dependency heaviness analysis. Based on pkgndep, we additionally performed a global analysis of dependency heaviness on CRAN and Bioconductor ecosystems and we revealed top packages that have significant contributions of high dependency heaviness to their child packages. AVAILABILITY AND IMPLEMENTATION: The package pkgndep and documentations are freely available from the Comprehensive R Archive Network https://cran.r-project.org/package=pkgndep. The dependency heaviness analysis for all 22 076 CRAN and Bioconductor packages retrieved on June 8, 2022 are available at https://pkgndep.github.io/. SUPPLEMENTARY INFORMATION: Supplementary data are available at Bioinformatics online. Oxford University Press 2022-07-08 /pmc/articles/PMC9438947/ /pubmed/35801905 http://dx.doi.org/10.1093/bioinformatics/btac449 Text en © The Author(s) 2022. Published by Oxford University Press. https://creativecommons.org/licenses/by-nc/4.0/This is an Open Access article distributed under the terms of the Creative Commons Attribution-NonCommercial License (https://creativecommons.org/licenses/by-nc/4.0/), which permits non-commercial re-use, distribution, and reproduction in any medium, provided the original work is properly cited. For commercial re-use, please contact journals.permissions@oup.com |
spellingShingle | Applications Note Gu, Zuguang Hübschmann, Daniel Pkgndep: a tool for analyzing dependency heaviness of R packages |
title |
Pkgndep: a tool for analyzing dependency heaviness of R packages |
title_full |
Pkgndep: a tool for analyzing dependency heaviness of R packages |
title_fullStr |
Pkgndep: a tool for analyzing dependency heaviness of R packages |
title_full_unstemmed |
Pkgndep: a tool for analyzing dependency heaviness of R packages |
title_short |
Pkgndep: a tool for analyzing dependency heaviness of R packages |
title_sort | pkgndep: a tool for analyzing dependency heaviness of r packages |
topic | Applications Note |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9438947/ https://www.ncbi.nlm.nih.gov/pubmed/35801905 http://dx.doi.org/10.1093/bioinformatics/btac449 |
work_keys_str_mv | AT guzuguang pkgndepatoolforanalyzingdependencyheavinessofrpackages AT hubschmanndaniel pkgndepatoolforanalyzingdependencyheavinessofrpackages |