SWAPtools: R-package for SWAP

Author

Working group SWAP

Published

May 5, 2026

Preface

SWAPtools (version 2.0.9) is an R package (R-Core-Team 2026) designed to manage SWAP (Kroes et al. 2017) model inputs via Excel and to visualize model outputs. It primarily relies on the packages listed in Table 1. Instructions for installing R and the required additional software and packages are provided in Appendix A — Installation of R.

Table 1: Dependencies of R package SWAPtools.
Package Version Reference
fs 2.1.0 Hester, Wickham, and Csárdi (2026)
stringr 1.6.0 Wickham (2025)
lubridate 1.9.5 Grolemund and Wickham (2011)
rlang 1.2.0 Henry and Wickham (2026)
readr 2.2.0 Wickham, Hester, and Bryan (2026)
readxl 1.4.5 Wickham and Bryan (2025)
RSQLite 2.4.6 Müller et al. (2026)
progress 1.2.3 Csárdi and FitzJohn (2023)
tibble 3.3.1 Müller and Wickham (2026)
dplyr 2.5.2 Wickham et al. (2026)
ggplot2 4.0.3 Wickham (2016)
ggpubr 0.6.3 Kassambara (2026)
pals 1.10 Wright (2025)
Metrics 0.1.4 Hamner and Frasco (2018)
controlR 1.0.36 Mulder (2026a)
KNMItools 0.1.36 Mulder (2026b)