Package 'myCRAN'

Title: Graph of Daily and Cumulative Downloads of your Packages
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.
Authors: Barry Zeeberg [aut, cre]
Maintainer: Barry Zeeberg <[email protected]>
License: GPL (>= 2)
Version: 1.1
Built: 2025-02-10 02:42:46 UTC
Source: https://github.com/cran/myCRAN

Help Index


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)