Skip to content

dexisensitivity

'DEXi' Decision Tree Analysis and Visualization

v1.0.2 · Sep 8, 2025 · GPL (>= 2)

Description

Provides a versatile toolkit for analyzing and visualizing 'DEXi' (Decision EXpert for education) decision trees, facilitating multi-criteria decision analysis directly within R. Users can read .dxi files, manipulate decision trees, and evaluate various scenarios. It supports sensitivity analysis through Monte Carlo simulations, one-at-a-time approaches, and variance-based methods, helping to discern the impact of input variations. Additionally, it includes functionalities for generating sampling plans and an array of visualization options for decision trees and analysis results. A distinctive feature is the synoptic table plot, aiding in the efficient comparison of scenarios. Whether for in-depth decision modeling or sensitivity analysis, this package stands as a comprehensive solution. Definition of sensitivity analyses available in Carpani, Bergez and Monod (2012) <doi:10.1016/j.envsoft.2011.10.002> and detailed description of the package soon available in Alaphilippe et al. (2025) <doi:10.1016/j.simpa.2024.100729>.

Downloads

639

Last 30 days

5711th

1.2K

Last 90 days

1.2K

Last year

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

CRAN Check Status

1 ERROR
13 OK
Show all 14 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-macos-arm64 ERROR
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 details (14 non-OK)
OK 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

*


            
ERROR r-devel-macos-arm64

tests

  Running ‘testthat.R’ [6s/6s]
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 test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(dexisensitivity)
  
  Attaching package: 'dexisensitivity'
  
  The following object is masked from 'package:testthat':
  
      describe
  
  > 
  > test_check("dexisensitivity")
  Starting simulation at Fri Feb 13 15:16:22 2026
  Simulation finished at Fri Feb 13 15:16:22 2026
  Saving _problems/test-node-108.R
  NULL
  $xpd
  [1] FALSE
  
  $mar
  [1] 5.1 4.1 4.1 2.1
  
  $pty
  [1] "m"
  
  [ FAIL 1 | WARN 0 | SKIP 2 | PASS 865 ]
  
  ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
  • On CRAN (2): 'test-option.R:63:1', 'test-option.R:86:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-node.R:108:3'): same output as JEB's scripts for masc2 ───────
  Expected `test_output` to equal `expected_output`.
  Differences:
  actual[[1]] vs expected[[1]]
                         [,1] [,2] [,3] [,4]
    actual[[1]][1, ]        1    1    1    1
    actual[[1]][2, ]        1    1    2    2
  - actual[[1]][3, ]        1    1    3    5
  + expected[[1]][3, ]      1    1    3    4
    actual[[1]][4, ]        1    1    4    2
  - actual[[1]][5, ]        1    1    5    6
  + expected[[1]][5, ]      1    1    5    1
  - actual[[1]][6, ]        1    2    1    6
  + expected[[1]][6, ]      1    2    1    3
  - actual[[1]][7, ]        1    2    2    4
  + expected[[1]][7, ]      1    2    2    6
    actual[[1]][8, ]        1    2    3    5
  - actual[[1]][9, ]        1    2    4    2
  + expected[[1]][9, ]      1    2    4    6
    actual[[1]][10, ]       1    2    5    6
  and 5 more ...
  
  actual[[1]] vs expected[[1]]
                         [,1] [,2] [,3] [,4]
    actual[[1]][16, ]       1    4    1    5
    actual[[1]][17, ]       1    4    2    1
    actual[[1]][18, ]       1    4    3    5
  - actual[[1]][19, ]       1    4    4    1
  + expected[[1]][19, ]     1    4    4    4
  - actual[[1]][20, ]       1    4    5    6
  + expected[[1]][20, ]     1    4    5    5
  - actual[[1]][21, ]       1    5    1    3
  + expected[[1]][21, ]     1    5    1    2
  - actual[[1]][22, ]       1    5    2    6
  + expected[[1]][22, ]     1    5    2    1
  - actual[[1]][23, ]       1    5    3    4
  + expected[[1]][23, ]     1    5    3    6
  - actual[[1]][24, ]       1    5    4    3
  + expected[[1]][24, ]     1    5    4    6
  - actual[[1]][25, ]       1    5    5    6
  + expected[[1]][25, ]     1    5    5    3
  and 96 more ...
  
  actual[[2]] vs expected[[2]]
                         [,1] [,2] [,3] [,4]
    actual[[2]][1, ]        1    1    1    1
    actual[[2]][2, ]        1    1    2    2
  - actual[[2]][3, ]        1    1    3    4
  + expected[[2]][3, ]      1    1    3    5
    actual[[2]][4, ]        1    1    4    2
  - actual[[2]][5, ]        1    1    5    1
  + expected[[2]][5, ]      1    1    5    6
  - actual[[2]][6, ]        1    2    1    3
  + expected[[2]][6, ]      1    2    1    6
    actual[[2]][7, ]        1    2    2    4
    actual[[2]][8, ]        1    2    3    5
  - actual[[2]][9, ]        1    2    4    6
  + expected[[2]][9, ]      1    2    4    2
    actual[[2]][10, ]       1    2    5    6
  and 2 more ...
  
  actual[[2]] vs expected[[2]]
                         [,1] [,2] [,3] [,4]
    actual[[2]][16, ]       1    4    1    5
    actual[[2]][17, ]       1    4    2    1
    actual[[2]][18, ]       1    4    3    5
  - actual[[2]][19, ]       1    4    4    4
  + expected[[2]][19, ]     1    4    4    1
  - actual[[2]][20, ]       1    4    5    5
  + expected[[2]][20, ]     1    4    5    6
  - actual[[2]][21, ]       1    5    1    2
  + expected[[2]][21, ]     1    5    1    3
  - actual[[2]][22, ]       1    5    2    1
  + expected[[2]][22, ]     1    5    2    6
  - actual[[2]][23, ]       1    5    3    6
  + expected[[2]][23, ]     1    5    3    4
  - actual[[2]][24, ]       1    5    4    6
  + expected[[2]][24, ]     1    5    4    3
  - actual[[2]][25, ]       1    5    5    3
  + expected[[2]][25, ]     1    5    5    6
  and 27 more ...
  
  actual[[2]] vs expected[[2]]
                         [,1] [,2] [,3] [,4]
    actual[[2]][53, ]       3    1    3    4
    actual[[2]][54, ]       3    1    4    6
    actual[[2]][55, ]       3    1    5    4
  - actual[[2]][56, ]       3    2    1    3
  + expected[[2]][56, ]     3    2    1    2
    actual[[2]][57, ]       3    2    2    4
  - actual[[2]][58, ]       3    2    3    3
  + expected[[2]][58, ]     3    2    3    4
  - actual[[2]][59, ]       3    2    4    5
  + expected[[2]][59, ]     3    2    4    3
  - actual[[2]][60, ]       3    2    5    7
  + expected[[2]][60, ]     3    2    5    5
  - actual[[2]][61, ]       3    3    1    2
  + expected[[2]][61, ]     3    3    1    7
  - actual[[2]][62, ]       3    3    2    5
  + expected[[2]][62, ]     3    3    2    3
  and 62 more ...
  
  actual[[3]] vs expected[[3]]
                         [,1] [,2] [,3] [,4]
    actual[[3]][4, ]        1    1    4    2
    actual[[3]][5, ]        1    1    5    1
    actual[[3]][6, ]        1    2    1    3
  - actual[[3]][7, ]        1    2    2    6
  + expected[[3]][7, ]      1    2    2    4
    actual[[3]][8, ]        1    2    3    5
    actual[[3]][9, ]        1    2    4    6
    actual[[3]][10, ]       1    2    5    6
  
  actual[[3]] vs expected[[3]]
                         [,1] [,2] [,3] [,4]
    actual[[3]][26, ]       2    1    1    3
    actual[[3]][27, ]       2    1    2    6
    actual[[3]][28, ]       2    1    3    5
  - actual[[3]][29, ]       2    1    4    1
  + expected[[3]][29, ]     2    1    4    2
    actual[[3]][30, ]       2    1    5    2
    actual[[3]][31, ]       2    2    1    1
    actual[[3]][32, ]       2    2    2    4
  
  actual[[3]] vs expected[[3]]
                         [,1] [,2] [,3] [,4]
    actual[[3]][34, ]       2    2    4    6
    actual[[3]][35, ]       2    2    5    5
    actual[[3]][36, ]       2    3    1    4
  - actual[[3]][37, ]       2    3    2    3
  + expected[[3]][37, ]     2    3    2    4
    actual[[3]][38, ]       2    3    3    6
    actual[[3]][39, ]       2    3    4    6
    actual[[3]][40, ]       2    3    5    2
    actual[[3]][41, ]       2    4    1    2
  - actual[[3]][42, ]       2    4    2    1
  + expected[[3]][42, ]     2    4    2    2
    actual[[3]][43, ]       2    4    3    5
  and 2 more ...
  
  actual[[4]] vs expected[[4]]
                         [,1] [,2] [,3] [,4]
    actual[[4]][29, ]       2    1    4    2
    actual[[4]][30, ]       2    1    5    4
    actual[[4]][31, ]       2    2    1    1
  - actual[[4]][32, ]       2    2    2    4
  + expected[[4]][32, ]     2    2    2    3
    actual[[4]][33, ]       2    2    3    6
    actual[[4]][34, ]       2    2    4    6
    actual[[4]][35, ]       2    2    5    5
  
  actual[[4]] vs expected[[4]]
                         [,1] [,2] [,3] [,4]
    actual[[4]][86, ]       4    3    1    5
    actual[[4]][87, ]       4    3    2    6
    actual[[4]][88, ]       4    3    3    3
  - actual[[4]][89, ]       4    3    4    5
  + expected[[4]][89, ]     4    3    4    6
    actual[[4]][90, ]       4    3    5    5
    actual[[4]][91, ]       4    4    1    2
    actual[[4]][92, ]       4    4    2    5
  
  actual[[4]] vs expected[[4]]
                         [,1] [,2] [,3] [,4]
    actual[[4]][117, ]      5    4    2    5
    actual[[4]][118, ]      5    4    3    7
    actual[[4]][119, ]      5    4    4    6
  - actual[[4]][120, ]      5    4    5    7
  + expected[[4]][120, ]    5    4    5    6
    actual[[4]][121, ]      5    5    1    6
    actual[[4]][122, ]      5    5    2    2
    actual[[4]][123, ]      5    5    3    3
  
  
  [ FAIL 1 | WARN 0 | SKIP 2 | PASS 865 ]
  Error:
  ! Test failures.
  Execution halted
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

*


            

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 9, 2026
ERROR r-devel-macos-arm64

tests

  Running ‘testthat.R’ [6s/6s]
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 test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(dexisensitivity)
  
  

Dependency Network

Dependencies Reverse dependencies XML AlgDesign plotrix genalg dplyr ggplot2 testthat xml2 dexisensitivity

Version History

new 1.0.2 Mar 9, 2026