This repository has been archived by the owner on Dec 30, 2023. It is now read-only.
forked from IndrajeetPatil/awesome-r-pkgtools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.qmd
569 lines (290 loc) · 25.2 KB
/
README.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
---
title: "Awesome R Package Development Tools"
format: gfm
toc: true
keep-md: true
date-modified: "`r Sys.Date()`"
author: "Indrajeet Patil"
keywords: ["r packages", "software development", "software engineering", "r"]
---
A curated list of awesome tools to assist 📦 development in R programming language.
[![Awesome](https://awesome.re/badge.svg)](https://awesome.re/) [![Track Awesome List](https://www.trackawesomelist.com/badge.svg)](https://www.trackawesomelist.com/)
<!-- TODO: https://www.trackawesomelist.com/IndrajeetPatil/awesome-r-pkgtools/ -->
<!-- Don't render this file manually. Run `renderer.R` script locally instead. -->
:::{.callout-tip}
## What is included?
- Only *tools* helpful for package development are included, and not other resources (e.g. books).
- All relevant tools are included, irrespective of their availability on [CRAN](https://cran.r-project.org/)/[Bioconductor](https://www.bioconductor.org/).
- Tools which are part of publicly archived/retired GitHub repositories are *not* included.
:::
If you wish to suggest any additional tools, please make a PR or create an issue [here](https://github.com/IndrajeetPatil/awesome-r-pkgtools/).
# Contributing
Please note that the `awesome-r-pkgtools` project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/1/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.
# Swiss army knives 🛠
Tools useful across all stages of package development (some of these are meta-packages and their component packages are also included in respective sections for the sake of completeness), irrespective of whether package is meant to be submitted to CRAN or to Bioconductor.
- [`{devtools}`](https://devtools.r-lib.org)
- [`{usethis}`](https://usethis.r-lib.org)
- [`{biocthis}`](https://lcolladotor.github.io/biocthis/)
- [`{packager}`](https://cran.r-project.org/package=packager)
- [`{pacs}`](https://polkas.github.io/pacs/)
# Package templates 💀
## Generic
- [`{pkgkitten}`](https://dirk.eddelbuettel.com/code/pkgkitten.html) (useful for creating new packages for R)
- [`{rcompendium}`](https://frbcesab.github.io/rcompendium/) (to make the creation of R package/research compendium easier)
- [`{skeletor}`](https://github.com/nealrichardson/skeletor/) (An R Package Skeleton Generator)
## RMarkdown-based
- [`{fusen}`](https://thinkr-open.github.io/fusen/) (to build a package from RMarkdown files)
- [`{litr}`](http://faculty.marshall.usc.edu/jacob-bien/litr/docs/) (to write a complete R package in a single R markdown document)
## Shiny
- [`{golem}`](https://github.com/ThinkR-open/golem/) (framework for building shiny applications)
- [`{leprechaun}`](https://leprechaun.opifex.org/#/) (leaner framework for building shiny applications)
- [`{rhino}`](https://appsilon.github.io/rhino/) (a framework to build high quality, enterprise-grade Shiny apps at speed)
## Meta-packages
- [`{pkgverse}`](https://pkgverse.mikewk.com) (for package meta-verse)
- [`{metamakr}`](https://github.com/jdtrat/metamakr/) (for package meta-verse)
# Naming things 🧸
- [`{available}`](https://cran.r-project.org/package=available) (to check if a package name is available to use)
- [`{collidr}`](https://cran.r-project.org/package=collidr) (to check for namespace collisions)
- [`{changer}`](https://cran.r-project.org/package=changer) (to change the name of an existing R package)
# Working with package components
- [`{rprojroot}`](https://rprojroot.r-lib.org) (accessing files w.r.t. package root directory)
- [`{desc}`](https://github.com/r-lib/desc#readme) (manipulating `DESCRIPTION` files)
- [`{withr}`](https://withr.r-lib.org) (to manage package side effects by safely and temporarily modifying global states)
- [`{pkgload}`](https://pkgload.r-lib.org/) (to simulate the process of installing and loading a package)
- [`{pkgbuild}`](https://cran.r-project.org/package=pkgbuild) (to find tools needed to build packages)
# Package configuration
- [`{config}`](https://rstudio.github.io/config/) (to manage environment specific configuration values)
# Package management tools
- [`{pkgcache}`](https://cran.r-project.org/package=pkgcache) (to cache 'CRAN'-like metadata and packages)
# Documentation 📚
## Manual
- [`{roxygen2}`](https://roxygen2.r-lib.org) (to generate R package documentation from inline R comments)
- [`{Rd2roxygen}`](https://cran.r-project.org/package=Rd2roxygen) (in case you inherit a project where documentation was not written using `{roxygen2}`)
- [`{sinew}`](https://yonicd.github.io/sinew/) (generate `{roxygen2}` skeletons)
- [`{roclang}`](https://cran.r-project.org/package=roclang) (helpers for diffusing content across function documentation)
- [`{Rdpack}`](https://cran.r-project.org/package=Rdpack) (for inserting references, figures, and evaluated examples in Rd docs)
- [`{roxygen2md}`](https://roxygen2md.r-lib.org) (to allow Markdown syntax usage in `{roxygen2}` documentation)
- [`{rd2markdown}`](https://github.com/Genentech/rd2markdown) (to convert `.Rd` package documentation files into markdown files)
- [`{rd2list}`](https://github.com/coolbutuseless/rd2list) (converts Rd docs to a human-readable list)
- [`{pasteAsComment}`](https://cran.r-project.org/package=pasteAsComment) (RStudio addin for pasting copied code as roxygen comment)
- [`roxygen2Comment`](https://github.com/csgillespie/roxygen2Comment) (Rstudio addin for adding and remove `{roxygen2}` comment)
## Math rendering in the manual
- [`{katex}`](https://docs.ropensci.org/katex/) (to convert latex math expressions to HTML for use in package manual pages)
- [`{mathjaxr}`](https://cran.r-project.org/package=mathjaxr) (provides 'MathJax' and macros to enable its use within `Rd` files for rendering equations in the HTML help files)
## Vignettes
- [`{knitr}`](https://yihui.org/knitr) (a general-purpose tool for dynamic report generation to be used as a vignette builder for R package vignettes)
- [`{rmarkdown}`](https://rmarkdown.rstudio.com) (to convert R Markdown documents to a variety of formats)
- [`{quarto}`](https://quarto-dev.github.io/quarto-r/) (provides R interface to frequently used operations in the Quarto CLI)
- [`{prettydoc}`](https://CRAN.R-project.org/package=prettydoc) (creates lightweight yet pretty vignettes)
- [`{learnr}`](https://rstudio.github.io/learnr/) (to turn any R Markdown document into an interactive tutorial)
## Website
- [`{pkgdown}`](https://pkgdown.r-lib.org) (static website for package documentation)
- [`{gitdown}`](https://github.com/ThinkR-open/gitdown/) (software changes as a gitbook)
- [`{altdoc}`](https://altdoc.etiennebacher.com) (use [docute](https://docute.org/) or [docsify](https://docsify.js.org/) to create a static website for package documentation)
## Translation
- [`{potools}`](https://github.com/MichaelChirico/potools/) (for translating messages and checking the "health" of the messaging corpus)
## Lifecycle
- [`{lifecycle}`](https://lifecycle.r-lib.org) (to manage the life cycle of exported functions)
## Badges and stickers
- [`{badger}`](https://cran.r-project.org/package=badger) (query information and generate badges for using in `README` and `GitHub Pages`)
- [`{hexSticker}`](https://cran.r-project.org/package=hexSticker) (helper functions for creating reproducible hexagon sticker purely in R)
- [`hexwall`](https://github.com/mitchelloharawild/hexwall/) (to create a wall of hexstickers)
## Presentation
- [`{xaringan}`](https://github.com/yihui/xaringan/) (an RMarkdown output format for `remark.js` slides)
## Book
- [`{bookdown}`](https://pkgs.rstudio.com/bookdown/) (authoring framework for books and technical documents with R Markdown)
## Change log and versioning
- [`{fledge}`](https://fledge.cynkra.com/) (to streamline the process of updating change logs and versioning R packages developed in git repositories)
- [`{newsmd}`](https://cran.r-project.org/package=newsmd) (utilities to add updates to the `NEWS.md` file)
- [`{autonewsmd}`](https://cran.r-project.org/package=autonewsmd) (to auto-generate change log using conventional commits)
# Documentation quality ✒️
- [`{docreview}`](https://thisisnic.github.io/docreview/) (to check quality of docs)
- [`{spelling}`](https://docs.ropensci.org/spelling/) (to check for spelling mistakes)
- [`{gramr}`](https://github.com/jasdumas/gramr/) (for grammar suggestions)
# Unit testing 🧪
## General
- [`{testthat}`](https://testthat.r-lib.org) (a testing framework for R that is easy to learn and use; also provides snapshot testing)
- [`{patrick}`](https://cran.r-project.org/package=patrick) (for parameterized unit testing with `{testthat}`)
- [`{tinytest}`](https://cran.r-project.org/package=tinytest) (zero-dependency unit testing framework that installs tests with the package)
- [`{RUnit}`](https://cran.r-project.org/package=RUnit) (a standard Unit Testing framework, with additional code inspection and report generation tools)
- [`{testit}`](https://CRAN.R-project.org/package=testit) (a simple package for testing R packages)
- [`{realtest}`](https://CRAN.R-project.org/package=realtest) (a framework unit testing that distinguishes between expected, acceptable, current, fallback, ideal, or regressive behaviours)
- [`{roxytest}`](https://github.com/mikldk/roxytest/) (inline `{testthat}` tests with `{roxygen2}`)
- [`{roxut}`](https://cran.r-project.org/package=roxut) (to write the unit tests in the same file as the function)
- [`{exampletestr}`](https://rorynolan.github.io/exampletestr/) (tests based on package examples)
- [`{unitizer}`](https://cran.r-project.org/package=unitizer) (simplifies regression tests by comparing objects produced by test code with earlier versions of those same objects)
- [`{r-hedgehog}`](https://github.com/hedgehogqa/r-hedgehog) (property based testing)
- [`{autotest}`](https://docs.ropensci.org/autotest/) (automatic mutation testing of R packages)
## Markdown documents
- [`{pandoc}`](https://cderv.github.io/pandoc/) (to check Markdown documents across various version of [Pandoc](https://pandoc.org))
## Shiny applications
- [`{shinytest}`](https://rstudio.github.io/shinytest/) (testing Shiny apps)
- [`{shinytest2}`](https://rstudio.github.io/shinytest2/) (testing Shiny apps using a headless Chromium web browser)
- [`{shinyloadtest}`](https://rstudio.github.io/shinyloadtest/) (to load test deployed Shiny apps)
## Web/database applications
- [`{httptest}`](https://enpiar.com/r/httptest/) (a test environment for HTTP requests in R)
- [`{httptest2}`](https://enpiar.com/httptest2/) (the same for `{httr2}` package)
- [`{webfakes}`](https://webfakes.r-lib.org/) (provides fake web apps for HTTP testing R packages)
- [`{dittodb}`](https://dittodb.jonkeane.com/) (makes testing against databases easy)
## Visual regression testing
- [`{vdiffr}`](https://vdiffr.r-lib.org) (for visual regression testing with `{testthat}`)
- [`{gdiff}`](https://cran.r-project.org/package=gdiff) (for performing graphical difference different package or R versions)
## Mock testing
- [`{mockthat}`](https://nbenn.github.io/mockthat/) (function mocking for unit testing to third-party packages)
- [`{mockr}`](https://krlmlr.github.io/mockr/) (allows mocking functions in the package under test)
- [`{testdown}`](https://github.com/ThinkR-open/testdown/) (turn `{testthat}` results into a `{bookdown}` project)
## Helpers for testing frameworks
- [`{testthis}`](https://cran.r-project.org/package=testthis) (RStudio addins for working with files that contain tests)
- [`{xpectr}`](https://github.com/LudvigOlsen/xpectr/) (builds unit tests with the `{testthat}` package by providing tools for generating expectations)
# Code/Document Formatting 🧽
- [`{styler}`](https://styler.r-lib.org) (to format code according to a style guide)
- [`{stylermd}`](https://github.com/lorenzwalthert/stylermd/) (to format text in Markdown documents)
- [`{formatR}`](https://yihui.org/formatr) (to format R source code)
- [`{grkstyle}`](https://github.com/gadenbuie/grkstyle/) (extension package for `{styler}` that supports author's personal code style preferences)
- [`{codegrip}`](https://github.com/lionel-/codegrip/) (addin for RStudio IDE to reshape R code and navigate across syntactic constructs)
- [`{BiocStyle}`](https://github.com/Bioconductor/BiocStyle/) (provides standard formatting styles for Bioconductor PDF and HTML documents)
- [`AlignAssign`](https://github.com/seasmith/AlignAssign) (RStudio addin that aligns the assignment operators within a highlighted area)
- [`{snakecase}`](https://tazinho.github.io/snakecase/) (helpful for having consistent case while naming objects in the package)
- [`{dotInternals}`](https://indrajeetpatil.github.io/dotInternals/) (to distinguish non-exported package functions by prepending their names with a dot)
# Code analysis 🗂⏱
## General
- [`{codetools}`](https://cran.r-project.org/package=codetools) (code analysis tools for R)
- [`{goodpractice}`](http://mangothecat.github.io/goodpractice/) (Swiss army knife for good practices)
- [`{inteRgrate}`](https://github.com/jumpingrivers/inteRgrate/) (provides an opinionated set of rules for R package development)
- [`{pkgcheck}`](https://docs.ropensci.org/pkgcheck/) (checks if package follows good practices recommended for packages in the [`rOpenSci`](https://ropensci.org/) ecosystem)
- [{pkgstats}](https://docs.ropensci.org/pkgstats/) (a static code analysis tool)
- [`{rchk}`](https://github.com/kalibera/rchk/) (provides several bug-finding tools that look for memory protection errors in C source code using R API)
- [`{sourcetools}`](https://cran.r-project.org/package=sourcetools) (tools for reading, tokenizing, and parsing R code)
- [`{precommit}`](https://lorenzwalthert.github.io/precommit/) (git hooks for common tasks like formatting files, spell checking, etc.)
## Code coverage
- [`{covr}`](https://covr.r-lib.org) (to compute code coverage)
- [`{covrpage}`](https://yonicd.github.io/covrpage/) (to include summary `README` of code coverage and more detailed information about tests)
- [`{covtracer}`](https://github.com/Genentech/covtracer/) (provides tools for contextualizing tests)
## Lint detection
- [`{lintr}`](https://github.com/r-lib/lintr/) (static code analysis)
- [`{CodeDepends}`](https://github.com/duncantl/CodeDepends) (analysis of R code for reproducible research and code view)
- [`{adaptalint}`](https://cran.r-project.org/package=adaptalint) (infer code style from one package and use it to check another)
- [`{roger}`](https://cran.r-project.org/package=roger) (provides tools for grading the coding style and documentation of R scripts)
- [`{cleanr}`](https://cran.r-project.org/package=cleanr) (tests code for some of the most common code layout flaws)
## Code complexity
- [`{cyclocomp}`](https://cran.r-project.org/package=cyclocomp) (to index the complexity of a function)
## Code similarity
- [`{dupree}`](https://github.com/russHyde/dupree/) (identifies code blocks that have a high level of similarity within a set of R files)
- [`{rscc}`](https://cran.r-project.org/package=rscc) (provides source code similarity evaluation by variable/function names)
- [`{SimilaR}`](https://cran.r-project.org/package=SimilaR) (quantifies the similarity of the code-base of R functions by means of program dependence graphs)
## Compiled code
- [`{memtools}`](https://memtools.r-lib.org/) (to solve memory leaks)
- [`{cppcheckR}`](https://cran.r-project.org/package=cppcheckR) (to check `C` and `C++` code using [`Cppcheck`](https://cppcheck.sourceforge.io/))
## JavaScript code
- [`{jshintr}`](https://cran.r-project.org/package=jshintr) (to run [JSHint](https://jshint.com/about/) for static code analysis for JavaScript code included in the package)
## Lines of code
- [`{cloc}`](https://github.com/hrbrmstr/cloc/) (counts blank lines, comment lines, and physical lines of source code in source files)
# Refactoring
- [`{refactor}`](https://github.com/moodymudskipper/refactor/) (to check speed and performance of both the original and refactored version of code)
# Code performance ⏱️
## Benchmarking
- [`{bench}`](https://bench.r-lib.org/) (provides high precision benchmarks for R expressions)
- [`{microbenchmark}`](https://cran.r-project.org/package=microbenchmark) (provides infrastructure to accurately measure and compare the execution time of R expressions)
- [`{tictoc}`](https://CRAN.R-project.org/package=tictoc) (provides functions for timing R scripts)
- [`{touchstone}`](https://lorenzwalthert.github.io/touchstone/) (benchmarking pull requests)
## Profiling
- [`{profvis}`](https://cran.r-project.org/package=profvis) (to profile and visualize profiling data)
- [`{proffer}`](https://r-prof.github.io/proffer/) (to create friendlier, faster visualizations for profiling data)
- [`{jointprof}`](https://r-prof.github.io/jointprof/) (to profile packages with native code in C, C++, Fortran, etc.)
# Dependencies ⚖️
- [`{pkgdepends}`](https://cran.r-project.org/package=pkgdepends) (to find recursive dependencies of from various sources)
- [`{deepdep}`](https://cran.r-project.org/package=deepdep) (to visualize and explore package dependencies)
- [`{itdepends}`](https://github.com/r-lib/itdepends/) (to assess usage, measure weights, visualize proportions, and assist removal of dependencies)
- [`{DependenciesGraphs}`](https://github.com/datastorm-open/DependenciesGraphs/) (to visualize package dependencies)
- [`{pkgnet}`](https://uptake.github.io/pkgnet/) (to build a graph representation of a package and its dependencies)
- [`{functiondepends}`](https://cran.r-project.org/package=functiondepends) (to find functions in an unstructured directory and explore their dependencies)
- [`{pkgndep}`](https://cran.r-project.org/package=pkgndep) (checks the heaviness of the packages used)
- [`{oysteR}`](https://sonatype-nexus-community.github.io/oysteR/) (to secure package against insecure dependencies)
- [`{attachment}`](https://github.com/ThinkR-open/attachment/) (to deal with package dependencies during package development)
# CRAN/Bioconductor checks, submission, and status 📬
- [`{rcmdcheck}`](https://r-lib.github.io/rcmdcheck/) (to run `R CMD check` form R programmatically)
- [`{BiocCheck}`](https://github.com/Bioconductor/BiocCheck/) (to run Bioconductor-specific package checks)
- [`{rhub}`](https://cran.r-project.org/package=rhub) (to run `R CMD check` on CRAN architectures)
- [`{checkhelper}`](https://thinkr-open.github.io/checkhelper/) (to help avoid problems with CRAN submissions)
- [`{foghorn}`](https://cran.r-project.org/package=foghorn) (to check for results and submission portal status)
- [`{urlchecker}`](https://github.com/r-lib/urlchecker/) (to checks for URL rot)
# Usage 🙈
- [`{cranlogs}`](https://r-hub.github.io/cranlogs/) (for computing CRAN download counts)
- [`{packageRank}`](https://cran.r-project.org/package=packageRank) (for visualizing CRAN download counts)
- [`{dlstats}`](https://guangchuangyu.github.io/dlstats/) (provides download statistics for packages)
# CI/CD 📟
CI/CD: continuous integration and either continuous delivery or continuous deployment
- [`actions`](https://github.com/r-lib/actions/) (for [GitHub Actions](https://github.com/features/actions))
- [`r-appveyor`](https://github.com/krlmlr/r-appveyor/) (for [AppVeyor](https://www.appveyor.com/))
- [`{tic}`](https://docs.ropensci.org/tic/) (for [Circle CI](https://circleci.com/) and [GitHub Actions](https://github.com/features/actions/))
- [`{circle}`](https://docs.ropensci.org/circle/) (for [Circle CI](https://circleci.com/))
- [`{jenkins}`](https://docs.ropensci.org/jenkins/) (for [Jenkins CI](https://www.jenkins.io/))
- [`{cronR}`](https://github.com/bnosac/cronR/) (to schedule R scripts/processes with the cron scheduler)
# Security/Privacy 👮
- [`{digest}`](https://cran.r-project.org/package=digest) (for the creation of hash digests of arbitrary R objects)
- [`{hash}`](https://cran.r-project.org/package=hash) (implements a data structure similar to hashes in Perl and dictionaries in Python but with a purposefully R flavor)
- [`{gpg}`](https://cran.r-project.org/package=gpg) (GNU privacy guard for R)
# Build systems
- [`{fakemake}`](https://cran.r-project.org/package=fakemake) (to mock Unix Make build system in case it is unavailable)
# Validation frameworks
- [`{valtools}`](https://phuse-org.github.io/valtools/) (in clinical research and drug development)
# Debugging 🔭
- [`{debugme}`](https://github.com/r-lib/debugme/) (provides helpers to specify debug messages as special string constants, and control debugging of packages via environment variables)
- [`{debugr}`](https://cran.r-project.org/package=debugr) (tools to print out the value of R objects/expressions while running an R script)
- [`{winch}`](https://r-prof.github.io/winch/) (provides stack traces for call chains that cross between R and C/C++ function calls)
- [`{flow}`](https://moodymudskipper.github.io/flow/) (to visualize as flow diagrams the logic of functions, expressions, or scripts, which can ease debugging)
- [`{boomer}`](https://github.com/moodymudskipper/boomer/) (provides debugging tools to inspect the intermediate steps of a call)
# Input validation 🔬
- [`{checkmate}`](https://mllg.github.io/checkmate/) (fast and versatile argument checks)
- [`{assertthat}`](https://cran.r-project.org/package=assertthat) (to declare the pre and post conditions that you code should satisfy and to produce friendly error messages)
- [`{assertive}`](https://bitbucket.org/richierocks/assertive/src/master/) (provides readable check functions to ensure code integrity)
- [`{pkgcond}`](https://github.com/RDocTaskForce/pkgcond/) (better error messages for package users)
- [`{dreamerr}`](https://github.com/lrberge/dreamerr/) (a simple and intuitive, yet powerful and flexible, way to check the arguments passed to a function and to offer informative error messages)
- [`{erify}`](https://flujoo.github.io/erify/) (to check arguments and generate readable error messages)
- [`{validate}`](https://github.com/data-cleaning/validate/) (to check whether data lives up to expectations based on the domain-specific knowledge)
# Package metadata 🖨
- [`{codemetar}`](https://docs.ropensci.org/codemetar/) (provides utilities to generate, parse, and modify `codemeta.jsonld` files automatically for R packages), or [`{codemeta}`](https://github.com/cboettig/codemeta/) (a leaner version of `{codemetar}`)
- [`{cffr}`](https://docs.ropensci.org/cffr/) (provides utilities to generate, parse, modify and validate `CITATION.cff` files automatically for R packages)
- [`{pkgapi}`](https://github.com/r-lib/pkgapi/) (to create the map of function calls in a package)
- [`{packagemetrics}`](https://github.com/sfirke/packagemetrics/) (for comparing among packages)
- [`{devtoolbox}`](https://martinctc.github.io/devtoolbox/) (to create a summary report for R package and to extract dependency statistics in a tidy data frame)
- [`{pkgattrs}`](https://rich-iannone.github.io/pkgattrs/) (useful for getting information on the contents of any R package)
- [`{foreman}`](https://github.com/yonicd/foreman/) (for unpacking, interrogating and subsetting R packages)
- [`{sessioninfo}`](https://r-lib.github.io/sessioninfo/) (to include R session information)
# Reverse dependency checks 📡⚰️
- [`{revdepcheck}`](https://r-lib.github.io/revdepcheck/) (for automated, isolated, reverse dependency checking)
- [`{xfun}`](https://yihui.org/xfun/) (specifically, `xfun::rev_check()`)
# Gratitude 🙏💌
To thank the contributors or maintainers of packages you rely on.
- [`{thankr}`](https://cran.r-project.org/package=thankr) (to find out who maintains the packages you are using)
- [`{allcontributors}`](https://docs.ropensci.org/allcontributors/) (to help acknowledge all contributions)
# Docker container 🛍
- [`{containerit}`](https://o2r.info/containerit/) (to package R script/session/workspace and all dependencies as a `Docker` container by generating a suitable `Dockerfile`)
- [`{usethat}`](https://tidylab.github.io/usethat/) (to automate analytic project setup tasks)
# Integration with other languages 🔗
## C++
- [`{Rcpp}`](https://cran.r-project.org/package=Rcpp)
- [`{cpp11}`](https://cpp11.r-lib.org)
## Fortran
- [`{RFI}`](https://github.com/t-kalinowski/RFI)
## Python
- [`{reticulate}`](https://cran.r-project.org/package=reticulate)
## Rust
- [`{rextendr}`](https://cran.r-project.org/package=rextendr)
- [`{cargo}`](https://cran.r-project.org/package=cargo)
- [`{hellorust}`](https://github.com/r-rust/hellorust)
## .NET Framework
- [`{rClr}`](https://github.com/rdotnet/rClr/)
## JavaScript/HTML/CSS
- [`{htmltools}`](https://CRAN.R-project.org/package=htmltools)
- [`{packer}`](https://packer.john-coene.com/)
## Julia
- [`{JuliaCall}`](https://non-contradiction.github.io/JuliaCall/)
# Upkeep 🧹
- [`{TODOr}`](https://github.com/dokato/todor/) (RStudio addin to list things that you need to do or change)
# Sundry 🗒
- [`{prefixer}`](https://github.com/dreamRs/prefixer/) (prefix function with their namespace )
- [`{rstudioapi}`](https://rstudio.github.io/rstudioapi/) (to conditionally access the RStudio API from CRAN packages)
- [`{rcheology}`](https://hughjonesd.shinyapps.io/rcheology/) (to access data on base packages for previous versions of R)
- [`{gitignore}`](https://cran.r-project.org/package=gitignore) (to fetch gitignore templates)
- [`{DIZutils}`](https://cran.r-project.org/package=DIZutils) (helpers for packages dealing with database connections)