get_downloads {deepdep}R Documentation

Scrap the download data of the package

Description

This function uses API of CRAN Logs to scrap the download logs of the package.

Usage

get_downloads(package)

Arguments

package

A character. Name of the package that is on CRAN.

Value

An object of package_downloads class.

Examples


library(deepdep)

downloads <- get_downloads("ggplot2")
downloads




[Package deepdep version 0.4.3 Index]