Skip to content

jti

Junction Tree Inference

v1.0.0 · Nov 23, 2024 · GPL-3

Description

Minimal and memory efficient implementation of the junction tree algorithm using the Lauritzen-Spiegelhalter scheme; S. L. Lauritzen and D. J. Spiegelhalter (1988) <https://www.jstor.org/stable/2345762?seq=1>. The jti package is part of the paper <doi:10.18637/jss.v111.i02>.

Downloads

CRAN

369

Last 30 days

11934th

875

Last 90 days

3.4K

Last year

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

r2u CRAN

24

Last 30 days

114

Last 90 days

419

Last year

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

autoCRAN

6

Last 7 days

17

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 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
ERROR 13 OK · 0 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/jti.Rcheck/00install.out' for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Line coverage

Expression

Tests / Examples

Functions

188 26 exported

Complexity

2.4 avg / 24 max

Call network

188 nodes / 172 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

5,968

Files

94

Compiled share

15%

Has compiled src

Yes

Language breakdown

R 3,702 (62%)C/C++/src 896 (15%)Docs 1,142 (19.1%)Vignettes 228 (3.8%)

API

Exported functions

26

Internal functions

121

Recent export changes

v1.0.0+2 jt_leaves, jt_parents  −2 leaves, parents
v0.8.3+1 pot_list

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

18.2%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

0%

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

10

First release

2020-11-19

Latest release

2024-11-23

Avg cadence

48 days

Cold removal rate

100%

Dep drift

0

LOC over versions

v0.5.1: 3,610 LOCv0.5.2: 3,628 LOCv0.6.0: 2,916 LOCv0.7.0: 4,414 LOCv0.7.1: 4,995 LOCv0.8.0: 5,466 LOCv0.8.2: 5,849 LOCv0.8.3: 5,698 LOCv0.8.4: 5,956 LOCv1.0.0: 5,968 LOC

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

Dependency Network

Dependencies Reverse dependencies Rcpp igraph sparta jti

Version History

11 tracked
new 1.0.0 Mar 10, 2026
updated 1.0.0 ← 0.8.4 diff Nov 22, 2024
updated 0.8.4 ← 0.8.3 diff Apr 11, 2022
updated 0.8.3 ← 0.8.2 diff Feb 6, 2022
updated 0.8.2 ← 0.8.0 diff Jan 27, 2022
updated 0.8.0 ← 0.7.1 diff Jul 4, 2021
updated 0.7.1 ← 0.7.0 diff May 20, 2021
updated 0.7.0 ← 0.6.0 diff Apr 2, 2021
updated 0.6.0 ← 0.5.2 diff Dec 15, 2020
updated 0.5.2 ← 0.5.1 diff Nov 23, 2020
new 0.5.1 Nov 18, 2020