Skip to content

khaos

Bayesian Sparse Polynomial Chaos Expansion

v2.1.1 · Apr 23, 2026 · BSD_3_clause + file LICENSE

Description

Implements Bayesian polynomial chaos expansion methods for surrogate modeling, uncertainty quantification, and sensitivity analysis. Includes sparse regression-based approaches and adaptive Bayesian models based on reversible-jump Markov chain Monte Carlo. Optional screening and basis-enrichment strategies are provided to improve scalability in moderate to high dimensions.

Downloads

CRAN

392

Last 30 days

11069th

991

Last 90 days

991

Last year

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

r2u CRAN

0

Last 30 days

15

Last 90 days

15

Last year

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

autoCRAN

7

Last 7 days

9

Last 30 days

4

All-time

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

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 4 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 24, 2026

Code

Structure

Lines of code

5,107

Files

30

Compiled share

0%

Has compiled src

No

Language breakdown

R 4,044 (79.2%)Tests 71 (1.4%)Docs 992 (19.4%)

API

Exported functions

7

Internal functions

36

Recent export changes

v2.1.1+7 adaptive_khaos, adaptive_khaos2, adaptive_khaos_gprior +4 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.02

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

69.2%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

80%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

BSD_3_clause + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

1

First release

2026-04-23

Latest release

2026-04-23

Avg cadence

Cold removal rate

Dep drift

0

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

Dependency Network

Dependencies Reverse dependencies glmnet mvtnorm khaos

Version History

1 tracked
new 2.1.1 Apr 23, 2026