Skip to content

bayesWatch

Bayesian Change-Point Detection for Process Monitoring with Fault Detection

v0.1.4 · Aug 30, 2025 · GPL-3

Description

Bayes Watch fits an array of Gaussian Graphical Mixture Models to groupings of homogeneous data in time, called regimes, which are modeled as the observed states of a Markov process with unknown transition probabilities. In doing so, Bayes Watch defines a posterior distribution on a vector of regime assignments, which gives meaningful expressions on the probability of every possible change-point. Bayes Watch also allows for an effective and efficient fault detection system that assesses what features in the data where the most responsible for a given change-point. For further details, see: Alexander C. Murph et al. (2023) <doi:10.48550/arXiv.2310.02940>.

Downloads

CRAN

364

Last 30 days

12021st

795

Last 90 days

3K

Last year

Trend: +83.8% (30d vs prior 30d)

r2u CRAN

49

Last 30 days

166

Last 90 days

512

Last year

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

autoCRAN

8

Last 7 days

47

Last 30 days

0

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 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

whether package can be installed

install log ‘’ does not exist
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  7.1Mb
  sub-directories of 1Mb or more:
    help   2.2Mb
    libs   4.7Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.1Mb
  sub-directories of 1Mb or more:
    help   2.2Mb
    libs   4.7Mb
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/bayesWatch.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is  7.1Mb
  sub-directories of 1Mb or more:
    help   2.2Mb
    libs   4.7Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.1Mb
  sub-directories of 1Mb or more:
    help   2.2Mb
    libs   4.7Mb
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  7.1Mb
  sub-directories of 1Mb or more:
    help   2.2Mb
    libs   4.7Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.1Mb
  sub-directories of 1Mb or more:
    help   2.2Mb
    libs   4.7Mb

Code

Structure

Lines of code

13,562

Files

43

Compiled share

45.9%

Has compiled src

Yes

Language breakdown

R 7,087 (52.3%)C/C++/src 6,229 (45.9%)Docs 246 (1.8%)

API

Exported functions

3

Internal functions

53

Recent export changes

v0.1.0+3 bayeswatch, detect_faults, get_point_estimate

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

25%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

5

First release

2023-10-23

Latest release

2025-08-30

Avg cadence

42 days

Cold removal rate

Dep drift

0

LOC over versions

v0.1.0: 13,563 LOCv0.1.1: 13,561 LOCv0.1.2: 13,561 LOCv0.1.3: 13,561 LOCv0.1.4: 13,562 LOC

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

Dependency Network

Dependencies Reverse dependencies Rcpp Matrix Hotelling CholWishart ggplot2 gridExtra BDgraph MASS ess bayesWatch

Version History

6 tracked
new 0.1.4 Mar 10, 2026
updated 0.1.4 ← 0.1.3 diff Aug 29, 2025
updated 0.1.3 ← 0.1.2 diff Jan 26, 2024
updated 0.1.2 ← 0.1.1 diff Nov 19, 2023
updated 0.1.1 ← 0.1.0 diff Nov 4, 2023
new 0.1.0 Oct 22, 2023