Version:
1.3
Date:
2025年10月13日
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, plotrix, lubridate,
stats
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.
Encoding:
UTF-8
VignetteBuilder:
knitr
Suggests:
knitr, rmarkdown, testthat (≥ 3.0.0)
RoxygenNote:
7.3.2
Config/testthat/edition:
3
NeedsCompilation:
no
Packaged:
2025年10月14日 18:45:16 UTC; barryzeeberg
Repository:
CRAN
Date/Publication:
2025年10月14日 19:10: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,
regress = TRUE,
printout = TRUE
)
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()
regress
Boolean if TRUE perform linear regression for each package
printout
Boolean if TRUE print out summary data for the last several days
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)