Running ‘test-all.R’ [10s/12s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > library(esaddle)
  > 
  > test_package("esaddle")
  638 edges found so far.
  15748 cumulative base cases.
  652 cumulative node combinations scored.
  919 edges found so far.
  30229 cumulative base cases.
  1360 cumulative node combinations scored.
  982 edges found so far.
  37043 cumulative base cases.
  2016 cumulative node combinations scored.
  994 edges found so far.
  40136 cumulative base cases.
  2486 cumulative node combinations scored.
  998 edges found so far.
  42423 cumulative base cases.
  2829 cumulative node combinations scored.
  999 edges found so far.
  46189 cumulative base cases.
  3078 cumulative node combinations scored.
  Total spanning tree length: 11.4734
  ── 1. Error: mstOptim works well with saddlepoint: Univariate case (@test-mstOpt
  cannot open file 'Rplots.pdf'
  Backtrace:
  
  636 edges found so far.
  18278 cumulative base cases.
  2092 cumulative node combinations scored.
  864 edges found so far.
  37730 cumulative base cases.
  4134 cumulative node combinations scored.
  955 edges found so far.
  55493 cumulative base cases.
  6156 cumulative node combinations scored.
  985 edges found so far.
  68113 cumulative base cases.
  8125 cumulative node combinations scored.
  995 edges found so far.
  75820 cumulative base cases.
  9942 cumulative node combinations scored.
  999 edges found so far.
  79849 cumulative base cases.
  11432 cumulative node combinations scored.
  Total spanning tree length: 73.9709
  640 edges found so far.
  19047 cumulative base cases.
  2116 cumulative node combinations scored.
  875 edges found so far.
  38636 cumulative base cases.
  4142 cumulative node combinations scored.
  962 edges found so far.
  56659 cumulative base cases.
  6172 cumulative node combinations scored.
  990 edges found so far.
  68555 cumulative base cases.
  8084 cumulative node combinations scored.
  997 edges found so far.
  74949 cumulative base cases.
  9805 cumulative node combinations scored.
  999 edges found so far.
  77936 cumulative base cases.
  10987 cumulative node combinations scored.
  Total spanning tree length: 96.3157
  ── 2. Error: mstOptim works well with saddlepoint: Multivariate Gaussian case (@
  cannot open file 'Rplots.pdf'
  Backtrace:
  
  633 edges found so far.
  19489 cumulative base cases.
  1850 cumulative node combinations scored.
  870 edges found so far.
  40435 cumulative base cases.
  3701 cumulative node combinations scored.
  958 edges found so far.
  59090 cumulative base cases.
  5537 cumulative node combinations scored.
  987 edges found so far.
  71471 cumulative base cases.
  7311 cumulative node combinations scored.
  996 edges found so far.
  78492 cumulative base cases.
  8917 cumulative node combinations scored.
  999 edges found so far.
  81282 cumulative base cases.
  10082 cumulative node combinations scored.
  Total spanning tree length: 46.4039
  627 edges found so far.
  19659 cumulative base cases.
  1822 cumulative node combinations scored.
  865 edges found so far.
  40575 cumulative base cases.
  3631 cumulative node combinations scored.
  947 edges found so far.
  59793 cumulative base cases.
  5454 cumulative node combinations scored.
  981 edges found so far.
  74625 cumulative base cases.
  7248 cumulative node combinations scored.
  994 edges found so far.
  84340 cumulative base cases.
  8956 cumulative node combinations scored.
  998 edges found so far.
  89380 cumulative base cases.
  10298 cumulative node combinations scored.
  999 edges found so far.
  91234 cumulative base cases.
  11075 cumulative node combinations scored.
  Total spanning tree length: 92.3038
  ── 3. Error: mstOptim works well with saddlepoint: Multivariate Gamma case (@tes
  cannot open file 'Rplots.pdf'
  Backtrace:
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 18 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 3 ]
  1. Error: mstOptim works well with saddlepoint: Univariate case (@test-mstOptim.R#17) 
  2. Error: mstOptim works well with saddlepoint: Multivariate Gaussian case (@test-mstOptim.R#68) 
  3. Error: mstOptim works well with saddlepoint: Multivariate Gamma case (@test-mstOptim.R#115) 
  
  Error: testthat unit tests failed
  In addition: Warning message:
  Placing tests in `inst/tests` is deprecated. Please use `tests/testthat` instead 
  Execution halted