myCRAN: Graph of Daily and Cumulative Downloads of your Packages

Barry Zeeberg [aut, cre]

2025-10-14

myCRAN: Wrapper for Convenient Graphical Rendering of Daily and Cumulative Downloads of your Packages

 

 

Barry Zeeberg


This is a convenient program to 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. The cumulative plots are very useful. From the shape of the slope, you can immediately see if interest in your package is still strong, or if things are petering out.


The myCRAN program is invoked by


packages<-c(“timeLineGraphics”,“textBoxPlacement”,“SherlockHolmes”)
from<-“2023-01-01”
myCRAN(packages,from=from,plotNew=TRUE)
myCRAN(packages,when=“last-week”,plotNew=FALSE)

Here are the graphical results of running these 2 invocations of myCRAN. The first and third graphs display the daily counts; the second and fourth display the cumulative counts. The cumulative total for the time frame is given next to the package name in the figure legends.



annualCount



annualCum



weeklyCount

weeklyCum

Documentation for Enhanced Version

The enhanced version was invoked by


The primary output is a graph of the cumulative downloads for each package. The heavy line shows the total of all packages, values shown on the right axis.


The graph for each package appears to be nearly linear. To further quantify this hypothesis, a linear regression analysis is performed for each package. In this example, the slope of 14.40 means that 14.40 downloads were performed each day.


There seem to be 2 distinct families of slopes, around 5 and around 15, These can be seen visually in the previous figure, and confirmed quantitatively by the regression analyses. My initial expectation was that there wold be a ‘burst’ of interest immediately after introducing a new package, and then a leveling out. But the leveling out did not happen for any package.


CRAN updating of download counts is periodic and irregular and delayed by a day or two.