Running ‘testthat.R’ [248s/421s]
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.47481532316
  Tree 2 baseline perf: -2988.14357923947
  Tree 3 baseline perf: -3922.56655763014
  Tree 4 baseline perf: -3747.49611276188
  Tree 5 baseline perf: -3910.60367521585
  Baseline OOB performance: -3572.6569480341
  Using 5 trees
  Tree 1 perf: -3334.43488457566
  Tree 2 perf: -3054.47350663013
  Tree 3 perf: -3859.34676749237
  Tree 4 perf: -3727.13464945699
  Tree 5 perf: -3962.83084429478
  Variable: gender | Importance: 14.9871824558863 (based on 5 trees)
  
  Processing variable: group
  Tree 1 perf: -3293.96660573336
  Tree 2 perf: -3069.42292477381
  Tree 3 perf: -4086.30593965911
  Tree 4 perf: -3702.915679768
  Tree 5 perf: -3940.89031289701
  Variable: group | Importance: 46.0433445321573 (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