The goal of SPEI2 is to …
SPEI2
You can install the development version of SPEI2 like so:
remotes::install_github("rpkgs/SPEI2")
This is a basic example which shows you how to solve a common problem:
library(SPEI2) ## basic example code