Running ‘testthat.R’ [88s/105s]
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/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(grmtree)
  Loading required package: partykit
  Loading required package: grid
  Loading required package: libcoin
  Loading required package: mvtnorm
  Loading required package: mirt
  Loading required package: stats4
  Loading required package: lattice
  
  Attaching package: 'grmtree'
  
  The following object is masked from 'package:partykit':
  
      varimp
  
  > 
  > test_check("grmtree")
  Processing node: 4
  Processing node: 5
  Processing node: 4
  Processing node: 5
  Processing node: 4
  Processing node: 5
  Processing node: 4
  Processing node: 5
  Saving _problems/test-grmtree-20.R
  Processing node: 4
  Processing node: 5
  
  === Starting threshpar test ===
  Current objects: asti nodes thresh thresh_sub tree 
  Tree 1 baseline perf: -3294.47482101283
  Tree 2 baseline perf: -2988.14357924333
  Tree 3 baseline perf: -3922.56668918764
  Tree 4 baseline perf: -3747.49611273708
  Tree 5 baseline perf: -3910.60367271146
  Baseline OOB performance: -3572.65697497847
  Using 5 trees
  Tree 1 perf: -3334.4348911619
  Tree 2 perf: -3054.473506634
  Tree 3 perf: -3859.34688797832
  Tree 4 perf: -3727.13464943454
  Tree 5 perf: -3962.83084179039
  Variable: gender | Importance: 14.987180421359 (based on 5 trees)
  
  Processing variable: group
  Tree 1 perf: -3293.96661114862
  Tree 2 perf: -3069.42292477691
  Tree 3 perf: -4086.30607418792
  Tree 4 perf: -3702.91567974627
  Tree 5 perf: -3940.89031030036
  Variable: group | Importance: 46.043345053547 (based on 5 trees)
  [ FAIL 1 | WARN 281 | SKIP 2 | PASS 212 ]
  
  ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
  • On CRAN (2): 'test-all-long-grmtree.R:10:3',
    'test-generate_node_scores_dataset.R:87:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-grmtree.R:17:3'): grmtree produces correct object structure ──
  Expected `{ ... }` to run silently.
  Actual noise: warnings.
  
  [ FAIL 1 | WARN 281 | SKIP 2 | PASS 212 ]
  Error:
  ! Test failures.
  Execution halted