## File: README.md # dplyr [](https://dplyr.tidyverse.org) [![CRAN status](https://www.r-pkg.org/badges/version/dplyr)](https://cran.r-project.org/package=dplyr) [](https://github.com/tidyverse/dplyr/actions/workflows/R-CMD-check.yaml) [![Codecov test coverage](https://codecov.io/gh/tidyverse/dplyr/graph/badge.svg)](https://app.codecov.io/gh/tidyverse/dplyr) ## Overview dplyr is a grammar of data manipulation, providing a consistent set of verbs that help you solve the most common data manipulation challenges: - `mutate()` adds new variables that are functions of existing variables - `select()` picks variables based on their names. - `filter()` picks cases based on their values. - `summarise()` reduces multiple values down to a single summary. - `arrange()` changes the ordering of the rows. These all combine naturally with `group_by()` which allows you to perform any operation “by group”. You can learn more about them in `vignette("dplyr")`. As well as these single-table verbs, dplyr also provides a variety of two-table verbs, which you can learn about in `vignette("two-table")`. If you are new to dplyr, the best place to start is the [data transformation chapter](https://r4ds.hadley.nz/data-transform) in R for Data Science. ## Backends In addition to data frames/tibbles, dplyr makes working with other computational backends accessible and efficient. Below is a list of alternative backends: - [arrow](https://arrow.apache.org/docs/r/) for larger-than-memory datasets, including on remote cloud storage like AWS S3, using the Apache Arrow C++ engine, [Acero](https://arrow.apache.org/docs/cpp/acero/overview.html). - [dbplyr](https://dbplyr.tidyverse.org/) for data stored in a relational database. Translates your dplyr code to SQL. - [dtplyr](https://dtplyr.tidyverse.org/) for large, in-memory datasets. Translates your dplyr code to high performance [data.table](https://rdatatable.gitlab.io/data.table/) code. - [duckplyr](https://duckplyr.tidyverse.org/) for large, in-memory datasets. Translates your dplyr code to high performance [duckdb](https://duckdb.org) queries with zero extra copies and an automatic R fallback when translation isn’t possible. - [sparklyr](https://spark.posit.co/) for very large datasets stored in [Apache Spark](https://spark.apache.org). ## Installation ``` r # The easiest way to get dplyr is to install the whole tidyverse: install.packages("tidyverse") # Alternatively, install just dplyr: install.packages("dplyr") ``` ### Development version To get a bug fix or to use a feature from the development version, you can install the development version of dplyr from GitHub. ``` r # install.packages("pak") pak::pak("tidyverse/dplyr") ``` ## Cheat Sheet [](https://github.com/rstudio/cheatsheets/blob/main/data-transformation.pdf) ## Usage ``` /* Detailed source-code truncated for AI context efficiency. */ ``` ## Getting help If you encounter a clear bug, please file an issue with a minimal reproducible example on [GitHub](https://github.com/tidyverse/dplyr/issues). For questions and other discussion, please use [forum.posit.co](https://forum.posit.co/). ## Code of conduct Please note that this project is released with a [Contributor Code of Conduct](https://dplyr.tidyverse.org/CODE_OF_CONDUCT). By participating in this project you agree to abide by its terms. --- ## File: revdep/README.md # Revdeps ## Failed to check (28) |package |version |error |warning |note | |:--------------------|:-------|:------|:-------|:----| |amberr |1.2.0 |1 | | | |[amt](failures.md#amt)|0.3.0.0 |__+1__ | | | |bayesdfa |1.3.4 |1 | | | |[bootnet](failures.md#bootnet)|1.6 |__+1__ | | | |CytoML |? | | | | |DSMolgenisArmadillo |? | | | | |dsTidyverse |? | | | | |dsTidyverseClient |? | | | | |EcoEnsemble |1.1.2 |1 | | | |[FairMclus](failures.md#fairmclus)|2.2.1 |__+1__ | |-1 | |flowWorkspace |? | | | | |galvanizer |0.5.3 |1 | | | |ggmosaic |0.3.3 |1 | | | |[GOxploreR](failures.md#goxplorer)|1.2.8 |__+1__ | | | |[IVPP](failures.md#ivpp)|1.1.1 |__+1__ | | | |kerastuneR |0.1.0.7 |1 | | | |[kerntools](failures.md#kerntools)|1.2.0 |__+1__ | | | |loon.shiny |? | | | | |multinma |0.8.1 |1 | | | |NanoMethViz |? | | | | |pkgstats |? | | | | |quanteda |? | | | | |[RcmdrPlugin.RiskDemo](failures.md#rcmdrpluginriskdemo)|3.2 |__+1__ | | | |rshift |3.1.2 |1 | | | |stoRy |0.2.2 |1 | | | |tidyjson |0.3.2 |1 | | | |tricolore |1.2.4 |1 | | | |TriDimRegression |1.0.3 |1 | | | ## New problems (172) |package |version |error |warning |note | |:-----------------------|:--------|:---------|:-------|:--------| |[admiral](problems.md#admiral)|1.3.1 |__+1__ | | | |[adobeanalyticsr](problems.md#adobeanalyticsr)|0.5.0 | | |1 __+1__ | |[agriutilities](problems.md#agriutilities)|1.2.2 | | |__+1__ | |[AHPWR](problems.md#ahpwr)|0.1.0 | | |__+1__ | |[amanida](problems.md#amanida)|0.3.0 | | |1 __+1__ | |[AquaticLifeHistory](problems.md#aquaticlifehistory)|1.0.5 | | |__+1__ | |[arrow](problems.md#arrow)|22.0.0 |__+1__ | | | |[assertHE](problems.md#asserthe)|1.0.0 | | |__+1__ | |[BaHZING](problems.md#bahzing)|1.0.0 | | |__+1__ | |[bayesmove](problems.md#bayesmove)|0.2.3 | | |__+1__ | |[benchmarkmeData](problems.md#benchmarkmedata)|1.0.4 | | |__+1__ | |[BiVariAn](problems.md#bivarian)|1.0.2 |__+2__ | | | |[bpmnR](problems.md#bpmnr)|0.1.1 | | |__+1__ | |[broom](problems.md#broom)|1.0.10 | | |__+1__ | |[btw](problems.md#btw) |1.0.0 |__+2__ | | | |[ccostr](problems.md#ccostr)|0.1.0 | | |__+1__ | |[chunked](problems.md#chunked)|0.6.1 |__+1__ | | | |[CIMPLE](problems.md#cimple)|0.1.0 | | |1 __+1__ | |[cjar](problems.md#cjar)|0.2.0 | | |__+1__ | |[clockify](problems.md#clockify)|0.1.6 | | |__+1__ | |[cloudos](problems.md#cloudos)|0.4.0 | | |1 __+1__ | |[corella](problems.md#corella)|0.1.4 |__+3__ | | | |[crawl](problems.md#crawl)|2.3.0 | | |1 __+1__ | |[crosswalkr](problems.md#crosswalkr)|0.3.0 |__+1__ | | | |[dbplot](problems.md#dbplot)|0.3.3 |__+2__ | | | |[dbplyr](problems.md#dbplyr)|2.5.1 | |__+1__ | | |[demodelr](problems.md#demodelr)|2.0.0 | | |__+1__ | |[dexter](problems.md#dexter)|1.7.0 |__+3__ | | | |[discord](problems.md#discord)|1.2.4.1 |__+1__ | | | |[dm](problems.md#dm) |1.0.12 | |__+1__ | | |[doublIn](problems.md#doublin)|0.2.0 | | |__+1__ | |[drawsample](problems.md#drawsample)|1.0.1 | | |__+1__ | |[DrugExposureDiagnostics](problems.md#drugexposurediagnostics)|1.1.5 |__+1__ | | | |[dtplyr](problems.md#dtplyr)|1.3.2 |__+1__ | | | |[duckplyr](problems.md#duckplyr)|1.1.3 |__+2__ | | | |[dynwrap](problems.md#dynwrap)|1.2.4 | | |__+1__ | |[edeaR](problems.md#edear)|0.9.5 | | |__+1__ | |[ediblecity](problems.md#ediblecity)|0.2.1 | | |1 __+1__ | |[eesim](problems.md#eesim)|0.1.0 |__+1__ | |1 | |[eider](problems.md#eider)|1.0.0 | | |__+1__ | |[eph](problems.md#eph) |1.0.2 |__+3__ | | | |[eq5dsuite](problems.md#eq5dsuite)|1.0.1 | | |__+1__ | |[estadistica](problems.md#estadistica)|1.0 | | |__+1__ | |[ESTER](problems.md#ester)|0.2.0 | | |1 __+1__ | |[etl](problems.md#etl) |0.4.2 | |__+1__ |__+1__ | |[evanverse](problems.md#evanverse)|0.3.7 |__+1__ | | | |[expertsurv](problems.md#expertsurv)|1.4.0 | | |__+1__ | |[fbar](problems.md#fbar)|0.6.0 | | |__+1__ | |[feisr](problems.md#feisr)|1.3.0 |__+3__ | | | |[FLORAL](problems.md#floral)|0.5.0 | | |__+1__ | |[FRK](problems.md#frk) |2.3.1 | |1 |__+1__ | |[funspotr](problems.md#funspotr)|0.0.4 | | |__+1__ | |[furniture](problems.md#furniture)|1.9.14 |__+1__ | | | |[fuzzyjoin](problems.md#fuzzyjoin)|0.1.6.1 |__+2__ | | | |[gaiah](problems.md#gaiah)|0.0.5 |__+1__ | |1 | |[galaxias](problems.md#galaxias)|0.1.1 |__+1__ | | | |[gap](problems.md#gap) |1.6 | |1 |__+1__ | |[gatoRs](problems.md#gators)|1.0.2 |__+1__ | | | |[GencoDymo2](problems.md#gencodymo2)|1.0.3 | | |__+1__ | |[ggalluvial](problems.md#ggalluvial)|0.12.5 | |__+1__ | | |[ggbrick](problems.md#ggbrick)|0.3.1 | | |__+1__ | |[ggFishPlots](problems.md#ggfishplots)|0.3.0 | | |__+1__ | |[gglm](problems.md#gglm)|1.0.4 | | |__+1__ | |[ggmulti](problems.md#ggmulti)|1.0.8 | | |__+1__ | |[ghypernet](problems.md#ghypernet)|1.1.0 | | |1 __+1__ | |[gimap](problems.md#gimap)|1.1.1 | | |__+1__ | |[gitgadget](problems.md#gitgadget)|0.8.2 | | |__+1__ | |[gmgm](problems.md#gmgm)|1.1.2 | | |__+1__ | |[gMOIP](problems.md#gmoip)|1.5.5 | | |__+1__ | |[goat](problems.md#goat)|1.1.3 | | |__+1__ | |[googletraffic](problems.md#googletraffic)|0.1.7 | | |1 __+1__ | |[growthcleanr](problems.md#growthcleanr)|2.2.0 | | |__+1__ | |[grPipe](problems.md#grpipe)|0.1.0 | | |__+1__ | |[heuristicsmineR](problems.md#heuristicsminer)|0.3.0 | | |__+1__ | |[himach](problems.md#himach)|1.0.0 | | |__+1__ | |[hurricaneexposure](problems.md#hurricaneexposure)|0.1.1 |__+2__ | |2 | |[hutils](problems.md#hutils)|1.8.1 |__+1__ | | | |[HVT](problems.md#hvt) |25.2.7 | | |__+1__ | |[IAT](problems.md#iat) |0.3 |__+1__ | |1 | |[inspectdf](problems.md#inspectdf)|0.0.12.1 |__+1__ | | | |[inti](problems.md#inti)|0.6.9 | | |__+1__ | |[iNZightTS](problems.md#inzightts)|2.0.2 |__+1__ | | | |[ipft](problems.md#ipft)|0.7.2 |__+1__ | | | |[istat](problems.md#istat)|1.0 | | |__+1__ | |[khisr](problems.md#khisr)|1.0.6 | | |__+1__ | |[kollaR](problems.md#kollar)|1.1.2 | | |__+1__ | |[LightLogR](problems.md#lightlogr)|0.9.2 |__+2__ | | | |[manifestoR](problems.md#manifestor)|1.6.1 | | |__+1__ | |[mantis](problems.md#mantis)|1.0.0 |__+1__ | | | |[manydata](problems.md#manydata)|1.1.3 |__+1__ | | | |[mapboxapi](problems.md#mapboxapi)|0.6.2 | | |__+1__ | |[markets](problems.md#markets)|1.1.6 | | |__+1__ | |[matman](problems.md#matman)|1.1.3 |__+1__ | | | |[mdsr](problems.md#mdsr)|0.2.8 | | |__+1__ | |[merTools](problems.md#mertools)|0.6.3 |__+2__ | | | |[metamicrobiomeR](problems.md#metamicrobiomer)|1.2 | | |1 __+1__ | |[microhaplot](problems.md#microhaplot)|1.0.1 |__+1__ | |1 | |[mlVAR](problems.md#mlvar)|0.5.2 | | |__+1__ | |[mobr](problems.md#mobr)|3.0.0 | | |__+1__ | |[MonteCarlo](problems.md#montecarlo)|1.0.6 |__+2__ | | | |[moodleR](problems.md#moodler)|1.0.1 | | |__+1__ | |[morse](problems.md#morse)|3.3.4 | | |__+1__ | |[mvMAPIT](problems.md#mvmapit)|2.0.3 | | |__+1__ | |[NBDCtools](problems.md#nbdctools)|1.0.2 | | |__+1__ | |[nfl4th](problems.md#nfl4th)|1.0.4 | | |__+1__ | |[nichetools](problems.md#nichetools)|0.3.2 | | |1 __+1__ | |[numbat](problems.md#numbat)|1.5.1 | | |1 __+1__ | |[OnboardClient](problems.md#onboardclient)|1.0.0 | | |__+1__ | |[OpenLand](problems.md#openland)|1.0.3 | | |__+1__ | |[orderanalyzer](problems.md#orderanalyzer)|1.0.0 | | |__+1__ | |[origin](problems.md#origin)|1.2.0 |__+1__ | | | |[oRus](problems.md#orus)|1.0.0 | | |1 __+1__ | |[pammtools](problems.md#pammtools)|0.7.3 | | |__+1__ | |[parSim](problems.md#parsim)|0.1.5 | | |__+1__ | |[pccc](problems.md#pccc)|1.0.6 |__+1__ | | | |[pctax](problems.md#pctax)|0.1.3 | | |__+1__ | |[PEIMAN2](problems.md#peiman2)|1.0.1 | | |__+1__ | |[pems.utils](problems.md#pemsutils)|0.3.0.8 | |__+1__ | | |[petrinetR](problems.md#petrinetr)|0.3.0 | | |1 __+1__ | |[placer](problems.md#placer)|0.1.3 |__+1__ | | | |[processmapR](problems.md#processmapr)|0.5.7 | | |__+1__ | |[protti](problems.md#protti)|0.9.1 | | |__+1__ | |[recforest](problems.md#recforest)|1.0.0 | | |__+1__ | |[REDCapTidieR](problems.md#redcaptidier)|1.2.4 |__+1__ | | | |[refund.shiny](problems.md#refundshiny)|1.1 | | |__+1__ | |[registr](problems.md#registr)|2.1.0 | | |1 __+1__ | |[revulyticsR](problems.md#revulyticsr)|0.0.3 | | |__+1__ | |[rifttable](problems.md#rifttable)|0.7.1 |__+1__ | | | |[risk.assessr](problems.md#riskassessr)|2.0.1 |__+1__ | | | |[roads](problems.md#roads)|1.2.0 | | |1 __+1__ | |[rpivotTable](problems.md#rpivottable)|0.3.0 |__+2__ | |1 | |[scistreer](problems.md#scistreer)|1.2.0 | | |1 __+1__ | |[scSpatialSIM](problems.md#scspatialsim)|0.1.3.4 |__+1__ | | | |[servosphereR](problems.md#servospherer)|0.1.1 | | |__+1__ | |[shinyloadtest](problems.md#shinyloadtest)|1.2.0 | | |__+1__ | |[SimplyAgree](problems.md#simplyagree)|0.2.1 | | |__+1__ | |[simTool](problems.md#simtool)|1.1.8 |__+3__ | | | |[soc.ca](problems.md#socca)|0.8.1 | | |__+1__ | |[srcr](problems.md#srcr)|1.1.1 | |__+1__ | | |[stabiliser](problems.md#stabiliser)|1.0.6 | | |1 __+1__ | |[statsExpressions](problems.md#statsexpressions)|1.7.1 |__+1__ | | | |[STICr](problems.md#sticr)|1.1.1 |__+1__ | | | |[strand](problems.md#strand)|0.2.2 |__+3__ | | | |[StratifiedMedicine](problems.md#stratifiedmedicine)|1.0.5 | | |__+1__ | |[sugarbag](problems.md#sugarbag)|0.1.6 | | |1 __+1__ | |[surveydata](problems.md#surveydata)|0.2.7 |__+1__ | | | |[survHE](problems.md#survhe)|2.0.5 | | |__+1__ | |[survivoR](problems.md#survivor)|2.3.8 | | |__+1__ | |[survminer](problems.md#survminer)|0.5.1 |__+1__ | | | |[tabr](problems.md#tabr)|0.5.4 |__+1__ | | | |[TextForecast](problems.md#textforecast)|0.1.3 |__+1__ | |1 | |[tglkmeans](problems.md#tglkmeans)|0.5.5 | | |1 __+1__ | |[tidyCDISC](problems.md#tidycdisc)|0.2.1 | | |__+1__ | |[tidycensus](problems.md#tidycensus)|1.7.3 | | |__+1__ | |[tidypopgen](problems.md#tidypopgen)|0.4.0 | | |__+1__ | |[tidyseurat](problems.md#tidyseurat)|0.8.4 |__+1__ | | | |[treeheatr](problems.md#treeheatr)|0.2.1 | | |__+1__ | |[twfeivdecomp](problems.md#twfeivdecomp)|0.1.0 | | |__+1__ | |[TwoArmSurvSim](problems.md#twoarmsurvsim)|0.2 | | |__+1__ | |[ulex](problems.md#ulex)|0.1.0 | | |1 __+1__ | |[useful](problems.md#useful)|1.2.6.1 |__+1__ | | | |[vctrs](problems.md#vctrs)|0.6.5 |__+1__ | |1 | |[viafr](problems.md#viafr)|0.3.2 | | |__+1__ | |[vital](problems.md#vital)|2.0.1 |__+2__ | | | |[vivainsights](problems.md#vivainsights)|0.7.0 | | |__+1__ | |[wakefield](problems.md#wakefield)|0.3.6 |__+1__ | | | |[WhatsR](problems.md#whatsr)|1.0.6 |-1 __+1__ | | | |[wpa](problems.md#wpa) |1.10.0 | | |__+1__ | |[WRTDStidal](problems.md#wrtdstidal)|1.1.4 | | |__+1__ | |[xlr](problems.md#xlr) |1.0.3 |__+1__ | | | |[ypssc](problems.md#ypssc)|1.1.0 | | |1 __+1__ | |[ZIBR](problems.md#zibr)|1.0.2 |__+1__ | | |