Skip to content

revdep shapr new test failures due to warnings #5544

@tdhock

Description

@tdhock

revdep shapr has the following new test failures if data.table from github master is installed:

* checking tests ...
  Running 'testthat.R'
 ERROR
Running the tests in 'tests/testthat.R' failed.
Last 13 lines of output:
  `shapr(train_df_used_numeric, l_numeric[[i]])` produced warnings.
  -- Failure ('test-a-shapley.R:87'): Testing data input to shapr in shapley.R ---
  `shapr(train_df_used_numeric, l_numeric[[i]])` produced warnings.
  -- Failure ('test-a-shapley.R:92'): Testing data input to shapr in shapley.R ---
  `shapr(train_df_used_factor, l_factor[[i]])` produced warnings.
  -- Failure ('test-a-shapley.R:92'): Testing data input to shapr in shapley.R ---
  `shapr(train_df_used_factor, l_factor[[i]])` produced warnings.
  -- Failure ('test-a-shapley.R:92'): Testing data input to shapr in shapley.R ---
  `shapr(train_df_used_factor, l_factor[[i]])` produced warnings.
  -- Failure ('test-a-shapley.R:92'): Testing data input to shapr in shapley.R ---
  `shapr(train_df_used_factor, l_factor[[i]])` produced warnings.
  
  [ FAIL 7 | WARN 45 | SKIP 0 | PASS 637 ]
  Error: Test failures
  Execution halted

git bisect says this started happening after merging #5233
@ben-schwen can you please have a look since you were the author of that PR?

Metadata

Metadata

Assignees

No one assigned

    Labels

    revdepReverse dependencies

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions