# R project architecture examples

Interactive architecture diagrams of 160 open-source R repositories with a GitDiagram architecture diagram, most stars first. Each diagram shows the project's main components, how they connect, and links every part to its file on GitHub.

## Repositories 1 to 50 of 160

1. [tidyverse/ggplot2](https://gitdiagram.com/tidyverse/ggplot2) (6.9k stars): ggplot2 is not a traditional “full stack” application with separated frontend/back-end; rather, it is a library, or open-source tool, for data visualization. Markdown: https://gitdiagram.com/tidyverse/ggplot2.md
2. [rstudio/shiny](https://gitdiagram.com/rstudio/shiny) (5.7k stars): Shiny’s browser runtime turns user interactions with bound widgets into client inputs, sends them through the Shiny session to an R server, then dispatches server updates to… Markdown: https://gitdiagram.com/rstudio/shiny.md
3. [tidyverse/dplyr](https://gitdiagram.com/tidyverse/dplyr) (5k stars) Markdown: https://gitdiagram.com/tidyverse/dplyr.md
4. [rdatatable/data.table](https://gitdiagram.com/rdatatable/data.table) (3.9k stars): This is an open-source R package (“data.table”) providing a high-performance replacement for base R’s data.frame, with both R-level API code and native C code under the hood. Markdown: https://gitdiagram.com/rdatatable/data.table.md
5. [satijalab/seurat](https://gitdiagram.com/satijalab/seurat) (2.7k stars): This is an R toolkit (“Seurat v5”) for single-cell and spatial genomics analysis. It is an open-source library/package rather than a web app or microservice. Markdown: https://gitdiagram.com/satijalab/seurat.md
6. [thomasp85/patchwork](https://gitdiagram.com/thomasp85/patchwork) (2.6k stars): This project is the R package “patchwork”, designed to simplify the process of combining separate ggplot objects into a single, cohesive graphic. Markdown: https://gitdiagram.com/thomasp85/patchwork.md
7. [r-lib/devtools](https://gitdiagram.com/r-lib/devtools) (2.5k stars): devtools is an R package providing an interactive façade for common R-package development workflows. Markdown: https://gitdiagram.com/r-lib/devtools.md
8. [tidyverse/tidyverse](https://gitdiagram.com/tidyverse/tidyverse) (1.8k stars): tidyverse is a small R package that provides a convenient entry point to the core tidyverse: a user loads the package, which attaches the core packages and reports masking… Markdown: https://gitdiagram.com/tidyverse/tidyverse.md
9. [tidyverse/rvest](https://gitdiagram.com/tidyverse/rvest) (1.5k stars): Main HTML processing modules (html.R, selectors.R) Markdown: https://gitdiagram.com/tidyverse/rvest.md
10. [paul-buerkner/brms](https://gitdiagram.com/paul-buerkner/brms) (1.4k stars) Markdown: https://gitdiagram.com/paul-buerkner/brms.md
11. [wch/r-source](https://gitdiagram.com/wch/r-source) (1.2k stars) Markdown: https://gitdiagram.com/wch/r-source.md
12. [thealgorithms/r](https://gitdiagram.com/thealgorithms/r) (1.2k stars) Markdown: https://gitdiagram.com/thealgorithms/r.md
13. [ddsjoberg/gtsummary](https://gitdiagram.com/ddsjoberg/gtsummary) (1.2k stars) Markdown: https://gitdiagram.com/ddsjoberg/gtsummary.md
14. [easystats/easystats](https://gitdiagram.com/easystats/easystats) (1.2k stars) Markdown: https://gitdiagram.com/easystats/easystats.md
15. [r-tmap/tmap](https://gitdiagram.com/r-tmap/tmap) (900 stars) Markdown: https://gitdiagram.com/r-tmap/tmap.md
16. [quanteda/quanteda](https://gitdiagram.com/quanteda/quanteda) (877 stars) Markdown: https://gitdiagram.com/quanteda/quanteda.md
17. [davidgohel/ggiraph](https://gitdiagram.com/davidgohel/ggiraph) (870 stars) Markdown: https://gitdiagram.com/davidgohel/ggiraph.md
18. [mcompetitions/m4-methods](https://gitdiagram.com/mcompetitions/m4-methods) (814 stars) Markdown: https://gitdiagram.com/mcompetitions/m4-methods.md
19. [r-lidar/lidr](https://gitdiagram.com/r-lidar/lidr) (711 stars) Markdown: https://gitdiagram.com/r-lidar/lidr.md
20. [massimoaria/bibliometrix](https://gitdiagram.com/massimoaria/bibliometrix) (665 stars) Markdown: https://gitdiagram.com/massimoaria/bibliometrix.md
21. [natverse/malecns](https://gitdiagram.com/natverse/malecns) (632 stars) Markdown: https://gitdiagram.com/natverse/malecns.md
22. [vincentarelbundock/marginaleffects](https://gitdiagram.com/vincentarelbundock/marginaleffects) (595 stars) Markdown: https://gitdiagram.com/vincentarelbundock/marginaleffects.md
23. [chris-mcginnis-ucsf/doubletfinder](https://gitdiagram.com/chris-mcginnis-ucsf/doubletfinder) (536 stars) Markdown: https://gitdiagram.com/chris-mcginnis-ucsf/doubletfinder.md
24. [mrcieu/twosamplemr](https://gitdiagram.com/mrcieu/twosamplemr) (536 stars) Markdown: https://gitdiagram.com/mrcieu/twosamplemr.md
25. [poisonalien/maftools](https://gitdiagram.com/poisonalien/maftools) (486 stars) Markdown: https://gitdiagram.com/poisonalien/maftools.md
26. [thelovelab/deseq2](https://gitdiagram.com/thelovelab/deseq2) (479 stars) Markdown: https://gitdiagram.com/thelovelab/deseq2.md
27. [rconsortium/s7](https://gitdiagram.com/rconsortium/s7) (478 stars) Markdown: https://gitdiagram.com/rconsortium/s7.md
28. [alserglab/fgsea](https://gitdiagram.com/alserglab/fgsea) (461 stars) Markdown: https://gitdiagram.com/alserglab/fgsea.md
29. [twbattaglia/rnaseq-workflow](https://gitdiagram.com/twbattaglia/rnaseq-workflow) (459 stars) Markdown: https://gitdiagram.com/twbattaglia/rnaseq-workflow.md
30. [cole-trapnell-lab/monocle3](https://gitdiagram.com/cole-trapnell-lab/monocle3) (445 stars) Markdown: https://gitdiagram.com/cole-trapnell-lab/monocle3.md
31. [posit-dev/skills](https://gitdiagram.com/posit-dev/skills) (442 stars) Markdown: https://gitdiagram.com/posit-dev/skills.md
32. [nflverse/nflverse-data](https://gitdiagram.com/nflverse/nflverse-data) (431 stars) Markdown: https://gitdiagram.com/nflverse/nflverse-data.md
33. [jgcri/gcam-core](https://gitdiagram.com/jgcri/gcam-core) (429 stars) Markdown: https://gitdiagram.com/jgcri/gcam-core.md
34. [r-lib/r6](https://gitdiagram.com/r-lib/r6) (423 stars) Markdown: https://gitdiagram.com/r-lib/r6.md
35. [constantamateur/soupx](https://gitdiagram.com/constantamateur/soupx) (317 stars) Markdown: https://gitdiagram.com/constantamateur/soupx.md
36. [r-dbi/dbi](https://gitdiagram.com/r-dbi/dbi) (316 stars) Markdown: https://gitdiagram.com/r-dbi/dbi.md
37. [mengxu98/scop](https://gitdiagram.com/mengxu98/scop) (306 stars) Markdown: https://gitdiagram.com/mengxu98/scop.md
38. [genomicsem/genomicsem](https://gitdiagram.com/genomicsem/genomicsem) (300 stars) Markdown: https://gitdiagram.com/genomicsem/genomicsem.md
39. [sdparekh/zumis](https://gitdiagram.com/sdparekh/zumis) (292 stars) Markdown: https://gitdiagram.com/sdparekh/zumis.md
40. [sigven/pcgr](https://gitdiagram.com/sigven/pcgr) (284 stars) Markdown: https://gitdiagram.com/sigven/pcgr.md
41. [epimodel/epimodel](https://gitdiagram.com/epimodel/epimodel) (282 stars) Markdown: https://gitdiagram.com/epimodel/epimodel.md
42. [satijalab/sctransform](https://gitdiagram.com/satijalab/sctransform) (272 stars) Markdown: https://gitdiagram.com/satijalab/sctransform.md
43. [r-spatialecology/landscapemetrics](https://gitdiagram.com/r-spatialecology/landscapemetrics) (257 stars) Markdown: https://gitdiagram.com/r-spatialecology/landscapemetrics.md
44. [ggrothendieck/sqldf](https://gitdiagram.com/ggrothendieck/sqldf) (253 stars) Markdown: https://gitdiagram.com/ggrothendieck/sqldf.md
45. [insightsengineering/teal](https://gitdiagram.com/insightsengineering/teal) (252 stars) Markdown: https://gitdiagram.com/insightsengineering/teal.md
46. [facebookincubator/geolift](https://gitdiagram.com/facebookincubator/geolift) (241 stars) Markdown: https://gitdiagram.com/facebookincubator/geolift.md
47. [philchalmers/mirt](https://gitdiagram.com/philchalmers/mirt) (235 stars) Markdown: https://gitdiagram.com/philchalmers/mirt.md
48. [pecanproject/pecan](https://gitdiagram.com/pecanproject/pecan) (234 stars) Markdown: https://gitdiagram.com/pecanproject/pecan.md
49. [kaz-yos/tableone](https://gitdiagram.com/kaz-yos/tableone) (232 stars) Markdown: https://gitdiagram.com/kaz-yos/tableone.md
50. [ohdsi/patientlevelprediction](https://gitdiagram.com/ohdsi/patientlevelprediction) (221 stars) Markdown: https://gitdiagram.com/ohdsi/patientlevelprediction.md

Next page: https://gitdiagram.com/architecture-examples/r/2

More hubs: https://gitdiagram.com/architecture-examples

Counted over GitDiagram's stored diagrams of public repositories, from the names their components and groups carry and the files they link to; the rules are the ones in the [2026 open-source architecture report](https://gitdiagram.com/open-source-architecture-2026). Stars are GitHub's when the diagram was last made. Rebuilt daily: hubs grow as more repositories' languages are known.
