myCRAN {myCRAN}R Documentation

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)


[Package myCRAN version 1.1 Index]