Title: Download Stats of R Packages
Version: 0.1.7
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
RoxygenNote: 7.2.3
NeedsCompilation: no
Packaged: 2023-05-24 01:50:14 UTC; HUAWEI
Author: Guangchuang Yu [aut, cre]
Repository: CRAN
Date/Publication: 2023-05-24 04:10:02 UTC

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")

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"

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)
head(y)

## End(Not run)

cranApp

Description

run shiny App for CRAN packages

Usage

cranApp()

Author(s)

Guangchuang Yu


cran_stats

Description

monthly download stats of cran package(s)

Usage

cran_stats(packages, use_cache = 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.

Value

data.frame

Author(s)

Guangchuang Yu

Examples

## Not run: 
library("dlstats")
x <- cran_stats(c("dlstats", "emojifont", "rvcheck"), use_cache=TRUE)
head(x)

## End(Not run)

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