pkginfo: Tools for Retrieving R Package Information
Motivation
There are several wonderful tools for retrieving information about R packages, some of which are listed below:
- cranlogs, dlstats and packageRank for R package download stats
- pkgsearch and packagefinder for searching CRAN R packages
- crandb provides API for programatically accessing meta-data
- cchecks for CRAN check results
We have used some or all of these to track/monitor our own R packages available on CRAN. Over time, we wanted to have a single interface which would retrieve information from different places including:
- check results from CRAN
- issues & pull requests from GitHub
- build status from Travis and Appveyor
- code coverage from Codecov
- questions tagged with the package name in Stack Overflow
And below is a demo of what we came up with…
{{% youtube “g7Lcmgiyzmo” %}}The above shiny app can be launched with:
pkginfo::pkginfo_dashboard()
Introduction
pkginfo will allow you to retrieve information from multiple places. The shiny app is especially useful if you are looking for information about multiple R packages. pkginfo provides two APIs, one is object oriented, the other one is procedural, and in this post, we will show you how to use them.
Installation
You can install the development version from GitHub with:
devtools::install_github("rsquaredacademy/pkginfo")


