Skip to content

revdbayes

Ratio-of-Uniforms Sampling for Bayesian Extreme Value Analysis

v1.5.7 · Mar 25, 2026 · GPL (>= 2)

Description

Provides functions for the Bayesian analysis of extreme value models. The 'rust' package <https://cran.r-project.org/package=rust> is used to simulate a random sample from the required posterior distribution. The functionality of 'revdbayes' is similar to the 'evdbayes' package <https://cran.r-project.org/package=evdbayes>, which uses Markov Chain Monte Carlo ('MCMC') methods for posterior simulation. In addition, there are functions for making inferences about the extremal index, using the models for threshold inter-exceedance times of Suveges and Davison (2010) <doi:10.1214/09-AOAS292> and Holesovsky and Fusek (2020) <doi:10.1007/s10687-020-00374-3>. Also provided are d,p,q,r functions for the Generalised Extreme Value ('GEV') and Generalised Pareto ('GP') distributions that deal appropriately with cases where the shape parameter is very close to zero.

Downloads

CRAN

2.9K

Last 30 days

2235th

11.9K

Last 90 days

40.2K

Last year

Trend: -42.2% (30d vs prior 30d)

r2u CRAN

28

Last 30 days

135

Last 90 days

550

Last year

Trend: -34.9% (30d vs prior 30d)

autoCRAN

3

Last 7 days

14

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

c2d4u legacy CRAN

7

Last 30 days

23

Last 90 days

40

Last year

Trend: -41.7% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.6Mb
  sub-directories of 1Mb or more:
    libs   4.4Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.2Mb
  sub-directories of 1Mb or more:
    libs   4.0Mb
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/revdbayes.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.6Mb
  sub-directories of 1Mb or more:
    libs   4.4Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.2Mb
  sub-directories of 1Mb or more:
    libs   4.0Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.6Mb
  sub-directories of 1Mb or more:
    libs   4.4Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.2Mb
  sub-directories of 1Mb or more:
    libs   4.0Mb

Line coverage

Expression

Tests / Examples

Functions

546 38 exported

Complexity

4.2 avg / 83 max

Call network

546 nodes / 379 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Compare versions

Code

Structure

Lines of code

21,711

Files

124

Compiled share

26.2%

Has compiled src

Yes

Language breakdown

R 9,248 (42.6%)C/C++/src 5,686 (26.2%)Tests 1,181 (5.4%)Docs 3,765 (17.3%)Vignettes 1,831 (8.4%)

API

Exported functions

39

Internal functions

181

Testing & CI

Has tests

Yes

Test-to-code ratio

0.13

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

8%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

100%

Unsafe pattern score

0

Dep constraint coverage

28.6%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.3.0

System requirements

C++ standard

License

GPL (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

22

First release

2016-11-23

Latest release

2026-03-25

Avg cadence

105 days

Cold removal rate

100%

Dep drift

8

LOC over versions

v1.0.0: 4,542 LOCv1.1.0: 9,293 LOCv1.2.0: 17,653 LOCv1.2.1: 17,708 LOCv1.3.1: 19,272 LOCv1.3.2: 19,471 LOCv1.3.3: 19,999 LOCv1.3.4: 20,192 LOCv1.3.5: 20,872 LOCv1.3.6: 20,940 LOCv1.3.7: 20,980 LOCv1.3.8: 21,167 LOCv1.3.9: 21,167 LOCv1.4.9: 22,957 LOCv1.5.0: 21,732 LOCv1.5.1: 21,708 LOCv1.5.2: 21,717 LOCv1.5.3: 21,706 LOCv1.5.4: 21,706 LOCv1.5.5: 21,706 LOCv1.5.6: 21,706 LOCv1.5.7: 21,711 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (10)

Dependency Network

Dependencies Reverse dependencies bayesplot exdex Rcpp rust evmissing lax lite threshr distributions3 exdex fitteR mev rust smovie revdbayes

Version History

23 tracked
updated 1.5.7 ← 1.5.6 diff Mar 25, 2026
new 1.5.6 Mar 10, 2026
updated 1.5.6 ← 1.5.5 diff Jan 10, 2026
updated 1.5.5 ← 1.5.4 diff Aug 17, 2024
updated 1.5.4 ← 1.5.3 diff Jul 16, 2024
updated 1.5.3 ← 1.5.2 diff Dec 1, 2023
updated 1.5.2 ← 1.5.1 diff Sep 9, 2023
updated 1.5.1 ← 1.5.0 diff Jan 4, 2023
updated 1.5.0 ← 1.4.9 diff Nov 11, 2022
updated 1.4.9 ← 1.3.9 diff May 8, 2022
updated 1.3.9 ← 1.3.8 diff Sep 11, 2020
updated 1.3.8 ← 1.3.7 diff Aug 30, 2020
updated 1.3.7 ← 1.3.6 diff Jun 25, 2020
updated 1.3.6 ← 1.3.5 diff Dec 1, 2019
updated 1.3.5 ← 1.3.4 diff Nov 3, 2019