CRAN R Packages

R packages on CRAN for a search or by exact name: title, description, version, license, maintainer name, publish time, dependencies and imports, homepage and repository links, downloads in the last day, week or month, GitHub stars and how many packages use it.

$2 per 1,000 records

You pay only for the records you get. Zero records cost zero. 2,500 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 20 fieldsv1.0

Data from cran.r-project.org

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Searchoptional
Words to search R packages for, such as ggplot or survival analysis. Filters work too: needs:ggplot2 (packages that use it), topic:visualization, maintainer:<name>, author:<name>.
Example: ggplot
Package namesoptional
Exact CRAN package names, such as ggplot2 or dplyr. They come first, then the search results. One per line, or separated by commas.
Example: ggplot2, dplyr
Download periodoptional
Downloads over the last day, week or month.
Maximum resultsoptional
Most packages to return in one run, 1 to 2,000.
Example: 100

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 2,500 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/cran-r-packages/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
2,500 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/cran-r-packages/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"search":"ggplot"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

searchtext
Words to search R packages for, such as ggplot or survival analysis. Filters work too: needs:ggplot2 (packages that use it), topic:visualization, maintainer:<name>, author:<name>.
example: ggplot
package_nameslist
Exact CRAN package names, such as ggplot2 or dplyr. They come first, then the search results.
example: ggplot2, dplyr
download_periodtext
Downloads over the last day, week or month.
default: last-monthone of: last-day, last-week, last-month
max_resultsnumber
Most packages to return in one run, 1 to 2,000.
default: 100example: 100

What's in each record

20 fields.

Basics

  • Package

    Package name on CRAN, such as ggplot2.

    Example ggplot2

  • Title

    One-line title of the package.

    Example Create Elegant Data Visualisations Using the Grammar of Graphics

  • Description

    The package's own description.

    Example A system for 'declaratively' creating graphics, based on "The Grammar of Graphics". You provide the data, tell…

  • Version

    Latest version on CRAN.

    Example 4.0.5

  • License

    License, as CRAN lists it, such as MIT + file LICENSE or GPL-3.

    Example MIT + file LICENSE

  • Maintainer name

    Name of the package's maintainer (no e-mail).

    Example Thomas Lin Pedersen

  • Depends

    Depends entries with their version needs, such as R (>= 4.1).

    Example R (>= 4.1)

  • Imports

    Packages it imports, with version needs, such as rlang (>= 1.1.0).

    Example cli, grDevices

  • Has compiled code

    Yes when the package contains C, C++ or Fortran code that needs compiling.

    Example No

  • Downloads

    Downloads from CRAN's RStudio mirror in the chosen period.

    Example 2,154,464

  • Github stars

    Stars of the package's GitHub repository, as R-universe last read them.

    Example 7,032

  • Used by count

    Packages that depend on this one, as R-universe counts them.

    Example 9,424

Dates

  • Published

    When the latest version was published on CRAN (UTC).

    Example Dec 3, 2026

  • Downloads start date

    First day the downloads count covers.

    Example Nov 5, 2026

  • Downloads end date

    Last day the downloads count covers.

    Example Dec 4, 2026

Technical detailsField names and types for developers

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
packagetextPackage3 of 3
urllinkLink3 of 3
titletextTitle3 of 3
descriptiontextDescription3 of 3
versiontextVersion3 of 3
licensetextLicense3 of 3
maintainer_nametextMaintainer name3 of 3
published_atdate and timePublished3 of 3
dependslistDepends3 of 3
importslistImports3 of 3
homepagelinkHomepage3 of 3
repository_urllinkRepository link3 of 3
bug_reports_urllinkBug reports link3 of 3
has_compiled_codeyes or noHas compiled code3 of 3
downloadsnumberDownloads3 of 3
downloads_start_datedateDownloads start date3 of 3
downloads_end_datedateDownloads end date3 of 3
github_starsnumberGithub stars3 of 3
used_by_countnumberUsed by count3 of 3
r_universe_urllinkR universe link3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordTitlePackageDescriptionVersionLicenseMaintainer nameDependsImportsHas compiled codeDownloadsGithub starsUsed by countPublishedDownloads start dateDownloads end dateLinkHomepageRepository linkBug reports linkR universe link
1Create Elegant Data Visualisations Using the Grammar of Graphicsggplot2A system for 'declaratively' creating graphics, based on "The Grammar of Graphics". You provide the data, tell 'ggplot2' how to map variables to aesthetics, what graphical primitives to use, and it takes care of the details.4.0.5MIT + file LICENSEThomas Lin PedersenR (>= 4.1)cli, grDevices, grid, gtable (>= 0.3.6)No2,154,4647,0329,424Dec 3, 2026Nov 5, 2026Dec 4, 2026cran.r-project.org/package=ggplot2ggplot2.tidyverse.orggithub.com/tidyverse/ggplot2github.com/tidyverse/ggplot2/issuestidyverse.r-universe.dev/ggplot2
2A Grammar of Data ManipulationdplyrA fast, consistent tool for working with data frame like objects, both in memory and out of memory.1.2.1MIT + file LICENSEHadley WickhamR (>= 4.1.0)cli (>= 3.6.2), generics, glue (>= 1.3.2), lifecycle (>= 1.0.5)Yes1,686,6215,09010,106Apr 3, 2026Nov 5, 2026Dec 4, 2026cran.r-project.org/package=dplyrdplyr.tidyverse.orggithub.com/tidyverse/dplyrgithub.com/tidyverse/dplyr/issuestidyverse.r-universe.dev/dplyr
3'ggplot2' Based Publication Ready PlotsggpubrThe 'ggplot2' package is excellent and flexible for elegant data visualization in R. However the default generated plots require some formatting before we can send them for publication. Furthermore, to customize a 'ggplot', the syntax is opaque and this raises the level of…1.0.0GPL (>= 2)Alboukadel KassambaraR (>= 4.1.0), ggplot2 (>= 3.5.2)ggrepel (>= 0.9.2), grid, ggsci, statsNo229,3471,281496Jul 6, 2026Nov 5, 2026Dec 4, 2026cran.r-project.org/package=ggpubrrpkgs.datanovia.com/ggpubr/github.com/kassambara/ggpubrgithub.com/kassambara/ggpubr/issueskassambara.r-universe.dev/ggpubr

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Only packages on CRAN today: packages that are only on GitHub, Bioconductor or R-universe, and packages CRAN has archived, are left out.
  • Up to 2,000 packages per run. Search uses R-universe's index, best match and most used first; a common word matches thousands of packages.
  • Downloads count CRAN's RStudio (Posit) mirror only, as published by cranlogs; the latest day counted is usually yesterday.
  • github_stars and used_by_count come from R-universe: stars are empty for packages without a known GitHub home, and used_by_count counts packages that depend on it.
  • A search reads about 100 packages every 10 to 20 seconds. Names in package_names take one extra lookup each, so 100 names take about a minute.
  • Maintainer e-mail addresses are never returned, only names. Data from CRAN through crandb and cranlogs (R-hub) and from R-universe (rOpenSci).

Version history

A run uses the live version unless the request names another one with version.