
dplyr - A Grammar of Data Manipulation
A fast, consistent tool for working with data frame like objects, both in memory and out of memory.
Last updated
data-manipulationgrammarcpp
25.38 score 5.0k stars 9.1k dependents 860k scripts 1.9M downloads
tidyr - Tidy Messy Data
Tools to help to create tidy data, where each column is a variable, each row is an observation, and each cell contains a single value. 'tidyr' contains tools for changing the shape (pivoting) and hierarchy (nesting and 'unnesting') of a dataset, turning deeply nested lists into rectangular data frames ('rectangling'), and extracting values out of string columns. It also includes tools for working with missing values (both implicit and explicit).
Last updated
tidy-datacpp
23.49 score 1.4k stars 6.6k dependents 243k scripts 1.3M downloads
purrr - Functional Programming Tools
A complete and consistent functional programming toolkit for R.
Last updated
functional-programming
23.13 score 1.4k stars 8.0k dependents 95k scripts 1.4M downloads
stringr - Simple, Consistent Wrappers for Common String Operations
A consistent, simple and easy to use set of wrappers around the fantastic 'stringi' package. All function and argument names (and positions) are consistent, all functions deal with "NA"'s and zero length vectors in the same way, and the output from one function is easy to feed into the input of another.
Last updated
regular-expressionstrings
22.72 score 661 stars 9.1k dependents 229k scripts 1.3M downloads
testthat - Unit Testing for R
Software testing is important, but, in part because it is frustrating and boring, many of us avoid it. 'testthat' is a testing framework for R that is easy to learn and use, and integrates with your existing 'workflow'.
Last updated
unit-testingcpp
21.77 score 926 stars 460 dependents 88k scripts 835k downloadshttr - Tools for Working with URLs and HTTP
Useful tools for working with HTTP organised by HTTP verbs (GET(), POST(), etc). Configuration functions make it easy to control additional request components (authenticate(), add_headers() and so on).
Last updated
apicurlhttp
20.70 score 982 stars 4.0k dependents 37k scripts 1.2M downloads
tidyverse - Easily Install and Load the 'Tidyverse'
The 'tidyverse' is a set of packages that work in harmony because they share common data representations and 'API' design. This package is designed to make it easy to install and load multiple 'tidyverse' packages in a single step. Learn more about the 'tidyverse' at <https://www.tidyverse.org>.
Last updated
data-sciencetidyverse
20.48 score 1.8k stars 129 dependents 1.2M scripts 1.1M downloads
dbplyr - A 'dplyr' Back End for Databases
A 'dplyr' back end for databases that allows you to work with remote database tables as if they are in-memory data frames. Basic features works with any database that has a 'DBI' back end; more advanced features require 'SQL' translation to be provided by the package author.
Last updated
database
19.85 score 508 stars 804 dependents 7.0k scripts 527k downloads
haven - Import and Export 'SPSS', 'Stata' and 'SAS' Files
Import foreign statistical formats into R via the embedded 'ReadStat' C library, <https://github.com/WizardMac/ReadStat>.
Last updated
sasspssstatazlibcpp
19.73 score 451 stars 761 dependents 31k scripts 574k downloads
rvest - Easily Harvest (Scrape) Web Pages
Wrappers around the 'xml2' and 'httr' packages to make it easy to download, then manipulate, HTML and XML.
Last updated
htmlweb-scraping
19.58 score 1.5k stars 615 dependents 28k scripts 500k downloads
forcats - Tools for Working with Categorical Variables (Factors)
Helpers for reordering factor levels (including moving specified levels to front, ordering by first appearance, reversing, and randomly shuffling), and tools for modifying factor levels (including collapsing rare levels into other, 'anonymising', and manually 'recoding').
Last updated
factortidyverse
19.58 score 557 stars 1.4k dependents 29k scripts 555k downloads
roxygen2 - In-Line Documentation for R
Generate your Rd documentation, 'NAMESPACE' file, and collation field using specially formatted comments. Writing documentation in-line with code makes it easier to keep your documentation up-to-date as your requirements change. 'roxygen2' is inspired by the 'Doxygen' system for C++.
Last updated
devtoolsdocumentationcpp
19.46 score 648 stars 229 dependents 2.6k scripts 299k downloadsyaml - Methods to Convert R Data to YAML and Back
Implements the 'libyaml' 'YAML' 1.1 parser and emitter (<https://pyyaml.org/wiki/LibYAML>) for R.
Last updated
yaml
18.95 score 169 stars 5.7k dependents 8.2k scripts 1.2M downloadsS7 - An Object Oriented System Meant to Become a Successor to S3 and S4
A new object oriented programming system designed to be a successor to S3 and S4. It includes formal class, generic, and method specification, and a limited form of multiple dispatch. It has been designed and implemented collaboratively by the R Consortium Object-Oriented Programming Working Group, which includes representatives from R-Core, 'Bioconductor', 'Posit'/'tidyverse', and the wider R community.
Last updated
18.52 score 485 stars 8.8k dependents 244 scripts 1.4M downloadsplyr - Tools for Splitting, Applying and Combining Data
A set of tools that solves a common set of problems: you need to break a big problem down into manageable pieces, operate on each piece and then put all the pieces back together. For example, you might want to fit a model to each spatial location or time point in your study, summarise data by panels or collapse high-dimensional arrays to simpler summary statistics. The development of 'plyr' has been generously supported by 'Becton Dickinson'.
Last updated
cpp
18.27 score 504 stars 3.1k dependents 86k scripts 532k downloads
pkgdown - Make Static HTML Documentation for a Package
Generate an attractive and useful website from a source package. 'pkgdown' converts your documentation, vignettes, 'README', and more to 'HTML' making it easy to share information about your package online.
Last updated
documentation-toolquarto
18.20 score 770 stars 159 dependents 738 scripts 213k downloads
httr2 - Perform HTTP Requests and Process the Responses
Tools for creating and modifying HTTP requests, then performing them and processing the results. 'httr2' is a modern re-imagining of 'httr' that uses a pipe-based interface and solves more of the problems that API wrapping packages face.
Last updated
http
18.17 score 262 stars 1.7k dependents 5.5k scripts 385k downloadsreshape2 - Flexibly Reshape Data: A Reboot of the Reshape Package
Flexibly restructure and aggregate data using just two functions: melt and 'dcast' (or 'acast').
Last updated
cpp
17.66 score 214 stars 2.1k dependents 139k scripts 486k downloads
odbc - Connect to ODBC Compatible Databases (using the DBI Interface)
A DBI-compatible interface to ODBC databases.
Last updated
databaseodbcunixodbccpp
16.72 score 414 stars 30 dependents 3.5k scripts 159k downloads
modelr - Modelling Functions that Work with the Pipe
Functions for modelling that help you seamlessly integrate modelling into a pipeline of data manipulation and visualisation.
Last updated
modelling
16.48 score 399 stars 1.2k dependents 7.9k scripts 530k downloads
dtplyr - Data Table Back-End for 'dplyr'
Provides a data.table backend for 'dplyr'. The goal of 'dtplyr' is to allow you to write 'dplyr' code that is automatically translated to the equivalent, but usually much faster, data.table code.
Last updated
datatabledplyr
16.38 score 675 stars 151 dependents 2.7k scripts 423k downloadslazyeval - Lazy (Non-Standard) Evaluation
An alternative approach to non-standard evaluation using formulas. Provides a full implementation of LISP style 'quasiquotation', making it easier to generate code with other code.
Last updated
16.29 score 135 stars 2.0k dependents 724 scripts 616k downloads
ellmer - Chat with Large Language Models
Chat with large language models from a range of providers including 'Claude' <https://claude.ai>, 'OpenAI' <https://chatgpt.com>, and more. Supports streaming, asynchronous calls, tool calling, and structured data extraction.
Last updated
16.04 score 602 stars 39 dependents 1.6k scripts 16k downloadsevaluate - Parsing and Evaluation Tools that Provide More Details than the Default
Parsing and evaluation tools that make it easy to recreate the command line behaviour of R.
Last updated
evaluationparsingrepl
15.65 score 139 stars 5.0k dependents 228 scripts 1.1M downloadsprofvis - Interactive Visualizations for Profiling R Code
Interactive visualizations for profiling R code.
Last updated
15.25 score 315 stars 146 dependents 1.8k scripts 182k downloadsassertthat - Easy Pre and Post Assertions
An extension to stopifnot() that makes it easy to declare the pre and post conditions that you code should satisfy, while also producing friendly error messages so that your users know what's gone wrong.
Last updated
15.21 score 213 stars 1.0k dependents 3.4k scripts 201k downloadsrappdirs - Application Directories: Determine Where to Save Data, Caches, and Logs
An easy way to determine which directories on the users computer you should use to save data, caches and logs. A port of Python's 'Appdirs' (<https://github.com/ActiveState/appdirs>) to R.
Last updated
appdir
14.41 score 92 stars 6.4k dependents 89 scripts 1.1M downloadsgenerics - Common S3 Generics not Provided by Base R Methods Related to Model Fitting
In order to reduce potential package dependencies and conflicts, generics provides a number of commonly used S3 generics.
Last updated
14.26 score 60 stars 11k dependents 155 scripts 1.3M downloadsconflicted - An Alternative Conflict Resolution Strategy
R's default conflict management system gives the most recently loaded package precedence. This can make it hard to detect conflicts, particularly when they arise because a package update creates ambiguity that did not previously exist. 'conflicted' takes a different approach, making every conflict an error and forcing you to choose which function to use.
Last updated
conflicts
14.05 score 253 stars 156 dependents 6.6k scripts 417k downloadswaldo - Find Differences Between R Objects
Compare complex R objects and reveal the key differences. Designed particularly for use in testing packages where being able to quickly isolate key differences makes understanding test failures much easier.
Last updated
difftesting
13.58 score 301 stars 475 dependents 219 scripts 620k downloadspool - Object Pooling
Enables the creation of object pools, which make it less computationally expensive to fetch a new object. Currently the only supported pooled objects are 'DBI' connections.
Last updated
13.07 score 254 stars 33 dependents 1.1k scripts 17k downloadsfeather - R Bindings to the Feather 'API'
Read and write feather files, a lightweight binary columnar data store designed for maximum speed.
Last updated
12.99 score 2.8k stars 4 dependents 3.6k scripts 28k downloads
lobstr - Visualize R Data Structures with Trees
A set of tools for inspecting and understanding R data structures inspired by str(). Includes ast() for visualizing abstract syntax trees, ref() for showing shared references, cst() for showing call stack trees, and obj_size() for computing object sizes.
Last updated
cpp
12.97 score 314 stars 63 dependents 896 scripts 65k downloadsbigrquery - An Interface to Google's 'BigQuery' 'API'
Easily talk to Google's 'BigQuery' database from R.
Last updated
bigquerydatabasecpp
12.54 score 528 stars 4 dependents 2.5k scripts 12k downloadsdownlit - Syntax Highlighting and Automatic Linking
Syntax highlighting of R code, specifically designed for the needs of 'RMarkdown' packages like 'pkgdown', 'hugodown', and 'bookdown'. It includes linking of function calls to their documentation on the web, and automatic translation of ANSI escapes in output to the equivalent HTML.
Last updated
syntax-highlighting
12.47 score 90 stars 172 dependents 460 scripts 182k downloadsellipsis - Tools for Working with ...
The ellipsis is a powerful tool for extending functions. Unfortunately this power comes at a cost: misspelled arguments will be silently ignored. The ellipsis package provides a collection of functions to catch problems and alert the user.
Last updated
dot-dot-dotellipsis
12.16 score 139 stars 170 dependents 93 scripts 274k downloadsnycflights13 - Flights that Departed NYC in 2013
Airline on-time data for all flights departing NYC in 2013. Also includes useful 'metadata' on airlines, airports, weather, and planes.
Last updated
11.96 score 133 stars 3 dependents 9.2k scripts 149k downloadsproto - Prototype Object-Based Programming
An object oriented system using object-based, also called prototype-based, rather than class-based object oriented ideas.
Last updated
11.35 score 11 stars 113 dependents 401 scripts 30k downloadsmockery - Mocking Library for R
The two main functionalities of this package are creating mock objects (functions) and selectively intercepting calls to a given function that originate in some other function. It can be used with any testing framework available for R. Mock objects can be injected with either this package's own stub() function or a similar with_mocked_binding() facility present in the 'testthat' package.
Last updated
11.33 score 104 stars 4 dependents 655 scripts 48k downloadsbabynames - US Baby Names 1880-2017
US baby names provided by the SSA. This package contains all names used for at least 5 children of either sex.
Last updated
data
11.05 score 139 stars 4 dependents 2.2k scripts 103k downloadsmultidplyr - A Multi-Process 'dplyr' Backend
Partition a data frame across multiple worker processes to provide simple multicore parallelism.
Last updated
dplyrmultiprocess
10.67 score 649 stars 5 dependents 542 scripts 1.1k downloadsreshape - Flexibly Reshape Data
Flexibly restructure and aggregate data using just two functions: melt and cast.
Last updated
9.86 score 225 dependents 20k scripts 54k downloadspurrrlyr - Tools at the Intersection of 'purrr' and 'dplyr'
Some functions at the intersection of 'dplyr' and 'purrr' that formerly lived in 'purrr'.
Last updated
cpp
9.50 score 102 stars 5 dependents 295 scripts 5.6k downloadscubelyr - A Data Cube 'dplyr' Backend
An implementation of a data cube extracted out of 'dplyr' for backward compatibility.
Last updated
7.10 score 40 stars 6 dependents 72 scripts 4.9k downloadsggvis - Interactive Grammar of Graphics
An implementation of an interactive grammar of graphics, taking the best parts of 'ggplot2', combining them with the reactive framework of 'shiny' and drawing web graphics using 'vega'.
Last updated
6.83 score 1 stars 7 dependents 2.3k scripts 4.0k downloads
sloop - Helpers for 'OOP' in R
A collection of helper functions designed to help you to better understand object oriented programming in R, particularly using 'S3'.
Last updated
r6s3s4
6.64 score 103 stars 283 scripts 695 downloadsproductplots - Product Plots for R
Framework for visualising tables of counts, proportions and probabilities. The framework is called product plots, alluding to the computation of area as a product of height and width, and the statistical concept of generating a joint distribution from the product of conditional and marginal distributions. The framework, with extensions, is sufficient to encompass over 20 visualisations previously described in fields of statistical graphics and 'infovis', including bar charts, mosaic plots, 'treemaps', equal area plots and fluctuation diagrams.
Last updated
6.42 score 30 stars 1 dependents 76 scripts 1.9k downloadsdiffviewer - HTML Widget to Show File Differences
A HTML widget that shows differences between files (text, images, and data frames).
Last updated
diffhtmlwidgets
6.40 score 66 stars 16 scripts 16k downloadsggplot2movies - Movies Data
A dataset about movies. This was previously contained in ggplot2, but has been moved its own package to reduce the download size of ggplot2.
Last updated
6.23 score 8 stars 642 scripts 33k downloadsfueleconomy - EPA Fuel Economy Data
Fuel economy data from the EPA, 1985-2015, conveniently packaged for consumption by R users.
Last updated
6.11 score 17 stars 2 dependents 194 scripts 1.3k downloadslvplot - Letter Value 'Boxplots'
Implements the letter value 'boxplot' which extends the standard 'boxplot' to deal with both larger and smaller number of data points by dynamically selecting the appropriate number of letter values to display.
Last updated
5.90 score 37 stars 216 scripts 643 downloadsnasaweather - Collection of Datasets from the ASA 2006 Data Expo
Tidied data from the ASA 2006 data expo, as well as a number of useful other related data sets.
Last updated
5.70 score 13 stars 2 dependents 120 scripts 1.1k downloadsprofr - An Alternative Display for Profiling Information
An alternative data structure and visual rendering for the profiling information generated by Rprof.
Last updated
5.18 score 31 stars 98 scripts 245 downloadshflights - Flights that departed Houston in 2011
A data only package containing commercial domestic flights that departed Houston (IAH and HOU) in 2011.
Last updated
4.86 score 4 stars 360 scripts 750 downloadshighlight - Syntax Highlighter
Syntax highlighter for R code based on the results of the R parser. Rendering in HTML and latex markup. Custom Sweave driver performing syntax highlighting of R code chunks.
Last updated
cpp
4.70 score 1 stars 4 dependents 74 scripts 1.1k downloadsdoclisting - List Functions in Documentation
Generate 'Rd' markup to list methods for a generic function. Makes it easier to document S3, S4, and S7 generics by automatically finding and linking to method documentation.
Last updated
4.26 score 9 stars 1 scripts 596 downloadsmeifly - Interactive Model Exploration using 'GGobi'
Exploratory model analysis with <http://ggobi.org>. Fit and graphical explore ensembles of linear models.
Last updated
3.55 score 17 stars 21 scripts 273 downloads