Skip to content

abn

Modelling Multivariate Data with Additive Bayesian Networks

v3.1.13 · Dec 19, 2025 · GPL (>= 3)

Description

The 'abn' R package facilitates Bayesian network analysis, a probabilistic graphical model that derives from empirical data a directed acyclic graph (DAG). This DAG describes the dependency structure between random variables. The R package 'abn' provides routines to help determine optimal Bayesian network models for a given data set. These models are used to identify statistical dependencies in messy, complex data. Their additive formulation is equivalent to multivariate generalised linear modelling, including mixed models with independent and identically distributed (iid) random effects. The core functionality of the 'abn' package revolves around model selection, also known as structure discovery. It supports both exact and heuristic structure learning algorithms and does not restrict the data distribution of parent-child combinations, providing flexibility in model creation and analysis. The 'abn' package uses Laplace approximations for metric estimation and includes wrappers to the 'INLA' package. It also employs 'JAGS' for data simulation purposes. For more resources and information, visit the 'abn' website.

Downloads

CRAN

600

Last 30 days

5511th

1.8K

Last 90 days

9.6K

Last year

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

r2u CRAN

53

Last 30 days

164

Last 90 days

618

Last year

Trend: -32.1% (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 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

package dependencies

Package required but not available: ‘glmmTMB’

Package suggested but not available for checking: ‘INLA’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 1, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 30, 2026
ERROR r-devel-linux-x86_64-fedora-clang

tests

Running ‘testthat.R’ [32m/90m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional 
...[truncated]...
ds, using 2 instead.
  OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  ! Interrupting test: simulateAbn() works with grouping in real data.
  
  Execution halted
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

package dependencies

Package suggested but not available for checking: ‘INLA’
NOTE r-oldrel-macos-x86_64

package dependencies

Package suggested but not available for checking: ‘INLA’
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  6.9Mb
  sub-directories of 1Mb or more:
    extdata   2.9Mb
    libs      1.8Mb
ERROR 10 OK · 3 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/abn.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

package dependencies

Package suggested but not available for checking: ‘INLA’
NOTE r-oldrel-macos-x86_64

package dependencies

Package suggested but not available for checking: ‘INLA’
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  6.9Mb
  sub-directories of 1Mb or more:
    extdata   2.9Mb
    libs      1.8Mb
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

package dependencies

Package suggested but not available for checking: ‘INLA’
NOTE r-oldrel-macos-x86_64

package dependencies

Package suggested but not available for checking: ‘INLA’
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  6.9Mb
  sub-directories of 1Mb or more:
    extdata   2.9Mb
    libs      1.8Mb

Dependency Network

Dependencies Reverse dependencies doParallel foreach glmmTMB graph jsonlite lme4 mclogit nnet Rcpp Rgraphviz rjags stringi abn

Version History

37 tracked
new 3.1.13 Mar 10, 2026
updated 3.1.13 ← 3.1.12 diff Dec 18, 2025
updated 3.1.12 ← 3.1.9 diff Nov 24, 2025
updated 3.1.9 ← 3.1.8 diff Jun 25, 2025
updated 3.1.8 ← 3.1.7 diff Jun 23, 2025
updated 3.1.7 ← 3.1.1 diff Jun 5, 2025
updated 3.1.1 ← 3.0.6 diff May 29, 2024
updated 3.0.6 ← 3.0.4 diff Mar 21, 2024
updated 3.0.4 ← 3.0.3 diff Nov 29, 2023
updated 3.0.3 ← 3.0.2 diff Nov 2, 2023
updated 3.0.2 ← 3.0.1 diff Oct 25, 2023
updated 3.0.1 ← 3.0.0 diff Oct 8, 2023
updated 3.0.0 ← 2.7-5 diff Sep 5, 2023
updated 2.7-5 ← 2.7-3 diff May 21, 2023
updated 2.7-3 ← 2.7-1 diff Jan 24, 2023