Building FAIR R packages for scientists
Freely available at r-pkgs.org
DESCRIPTION: Metadata (maintainers, dependencies, license)
man: Help pages*
NAMESPACE: Exported names*
R: R code
*usually automatically generated via devtools package
e.g., carpentries and Utrecht University
All things that reduce mental load
Assuming the package is developed on GitHub
devtools

spelling
devtools::check()
Unit testing with testthat
Write tests:
Run tests:
testthat: expect_true, expect_error etc.Automatically test code across OSs and R versions
> usethis::use_github_action()
Which action do you want to add? (0 to exit)
(See <https://github.com/r-lib/actions/tree/v2/examples> for other options)
1: check-standard: Run `R CMD check` on Linux, macOS, and Windows
2: test-coverage: Compute test coverage and report to https://about.codecov.io
3: pr-commands: Add /document and /style commands for pull requests
Selection: Typically devtools::check() upon push to main
FAIR principles for research software (Barker et al. 2022)
Archived using a DOI
Can be downloaded from a public repository
Reads, writes, and exchanges data in relevant standards

CITATION.cff or under inst/CITATIONcffrSoftware as part of Recognition & Rewards
Packages can be part of a dissertation (talk to your supervisor!)
Develop skills for a career outside of academia
FAIR data and software as key component of Open Science
Increasing focus on software sustainability
uu.nl/en/research/open-science
Minimum effort:
Combines documentation, vignettes, license, contribution guidelines, bug reporting and much more
Links geosciences (stratigraphy) with biology (paleontology & phylogenetics)
Shiny App + open educational resources
Got your own package?
No package?

Niklas Hohmann