Version: | 1.2 |
Date: | 2025-03-21 |
Title: | Graph of Daily and Cumulative Downloads of your Packages |
Maintainer: | Barry Zeeberg <barryz2013@gmail.com> |
Author: | Barry Zeeberg [aut, cre] |
Depends: | R (≥ 4.2.0) |
Imports: | cranlogs, grDevices, graphics, pkgsearch |
Description: | Plot the daily and cumulative number of downloads of your packages. It is designed to be slightly more convenient than the several similar programs. If you want to run this each morning, you do not need to keep typing in the names of your packages. Also, this combines the daily and cumulative counts in one run, you do not need to run separate programs to get both types of information. |
License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
Encoding: | UTF-8 |
VignetteBuilder: | knitr |
Suggests: | knitr, rmarkdown, testthat (≥ 3.0.0) |
RoxygenNote: | 7.2.3 |
Config/testthat/edition: | 3 |
NeedsCompilation: | no |
Packaged: | 2025-03-21 23:35:26 UTC; barryzeeberg |
Repository: | CRAN |
Date/Publication: | 2025-03-21 23:50:02 UTC |
myCRAN
Description
wrapper for cran_downloads() to plot counts and cumulative counts of downloads of CRAN packages
Usage
myCRAN(
packages = NULL,
author = NULL,
from,
when,
plotNew = TRUE,
plotWidth = 12
)
Arguments
packages |
character vector of names of packages |
author |
character string of name of target author |
from |
date parameter for cran_downloads() |
when |
date parameter for cran_downloads() |
plotNew |
Boolean if TRUE start a new plot window |
plotWidth |
integer width parameter for dev.new() |
Details
Use either packages or author as the input parameter. When author is given, the function advanced_search() queries CRAN to return a list of the names of all packages by that author.
Value
returns no values, but has side effect of generating plots of daily and cumulative number of downloads of your packages
Examples
## Not run:
packages<-c("timeLineGraphics","textBoxPlacement","SherlockHolmes","myCRAN")
author = "Zeeberg"
from<-"2023-01-01"
myCRAN(author=author,from=from,plotNew=TRUE)
myCRAN(packages=packages,when="last-week",plotNew=FALSE)
## End(Not run)