| Title: | Download Stats of R Packages |
| Version: | 0.1.8 |
| Maintainer: | Guangchuang Yu <guangchuangyu@gmail.com> |
| Description: | Monthly download stats of 'CRAN' and 'Bioconductor' packages. Download stats of 'CRAN' packages is from the 'RStudio' 'CRAN mirror', see https://cranlogs.r-pkg.org:443. 'Bioconductor' package download stats is at https://bioconductor.org/packages/stats/. |
| Depends: | R (≥ 3.3.0) |
| Imports: | ggplot2, jsonlite, magrittr, RColorBrewer, scales, utils |
| Suggests: | knitr, tidyr, DT, rmarkdown, prettydoc |
| License: | Artistic-2.0 |
| VignetteBuilder: | knitr |
| ByteCompile: | true |
| Encoding: | UTF-8 |
| URL: | https://github.com/GuangchuangYu/dlstats |
| BugReports: | https://github.com/GuangchuangYu/dlstats/issues |
| Config/roxygen2/version: | 8.0.0 |
| NeedsCompilation: | no |
| Packaged: | 2026-06-15 08:44:49 UTC; HUAWEI |
| Author: | Guangchuang Yu [aut, cre] |
| Repository: | CRAN |
| Date/Publication: | 2026-06-15 09:40:02 UTC |
dlstats: Download Stats of R Packages
Description
Monthly download stats of 'CRAN' and 'Bioconductor' packages. Download stats of 'CRAN' packages is from the 'RStudio' 'CRAN mirror', see https://cranlogs.r-pkg.org:443. 'Bioconductor' package download stats is at https://bioconductor.org/packages/stats/.
Author(s)
Maintainer: Guangchuang Yu guangchuangyu@gmail.com
Authors:
Guangchuang Yu guangchuangyu@gmail.com
See Also
Useful links:
Report bugs at https://github.com/GuangchuangYu/dlstats/issues
biocApp
Description
run shiny App for BioC packages
Usage
biocApp()
Author(s)
Guangchuang Yu
bioc_stats
Description
monthly download stats of Bioconductor package(s)
Usage
bioc_stats(packages, use_cache = TRUE, type = "Software", progress = TRUE)
Arguments
packages |
packages |
use_cache |
logical, should cached data be used? Default: TRUE. If set to FALSE, it will re-query download stats and update cache. |
type |
one of "Software", "AnnotationData", "ExperimentData", and "Workflow" |
progress |
logical, should a progress bar be shown? Default: TRUE. When TRUE, prints a the current package name and a text progress bar. |
Value
data.frame
Author(s)
Guangchuang Yu
Examples
## Not run:
library("dlstats")
pkgs <- c("ChIPseeker", "clusterProfiler", "DOSE", "ggtree", "GOSemSim", "ReactomePA")
y <- bioc_stats(pkgs, use_cache=TRUE, progress=TRUE)
head(y)
## End(Not run)
cranApp
Description
run shiny App for CRAN packages
Usage
cranApp()
Author(s)
Guangchuang Yu
Get monthly download stats of CRAN package(s)
Description
Get monthly download stats of CRAN package(s), up to 500 packages at a time.
Usage
cran_stats(packages, use_cache = TRUE, progress = TRUE)
Arguments
packages |
packages |
use_cache |
logical, should cached data be used? Default: TRUE. If set to FALSE, it will re-query download stats and update cache. |
progress |
logical, should a progress bar be shown? Default: TRUE. When TRUE, a text progress bar will display “fetching data for 'year-month'” as each month’s range is fetched. |
Value
data.frame
plot_bioc_stats
Description
plot bioconductor download stats
Usage
plot_bioc_stats(pkg = YGC_bioc_pkg)
Arguments
pkg |
packages |
Value
ggplot object
Author(s)
guangchuang yu
plot_cran_stats
Description
plot cran download stats
Usage
plot_cran_stats(pkg = YGC_cran_pkg)
Arguments
pkg |
packages |
Value
ggplot object
Author(s)
guangchuang yu
set_cran_start_year
Description
set query start year for 'cran_stats'
Usage
set_cran_start_year(year)
Arguments
year |
start year |
Author(s)
Guangchuang Yu