The R package RecordTest provides exploratory data analysis and inference tools based on theory of records to describe the record occurrence and detect trends in time series.
You can install the stable version from CRAN.
You can install the development version from GitHub
Get started in RecordTest with the vignettes