Skip to content

revdep CooRTweet check failures with new melt code #5649

@tdhock

Description

@tdhock

revdep CooRTweet has the following new issues when checking using data.table from github master,

* checking tests ...
 ERROR
Running the tests in 'tests/testthat.R' failed.
Last 13 lines of output:
   3.     +-data.table::melt(...)
   4.     \-data.table::melt.data.table(...)
  -- Error ('test-simulated_data.R:220:5'): larger time window -------------------
  Error in `melt.data.table(x, id.vars = c("object_id", "time_delta"), measure.vars = patterns("^content_id", 
      "^id_user"), value.name = c("content_id", "id_user"))`: When 'measure.vars' is a list, 'value.name' must be a character vector of length =1 or =length(measure.vars).
  Backtrace:
      x
   1. \-CooRTweet (local) sim_test(...) at test-simulated_data.R:220:4
   2.   \-CooRTweet::group_stats(result) at test-simulated_data.R:48:4
   3.     +-data.table::melt(...)
   4.     \-data.table::melt.data.table(...)
  
  [ FAIL 9 | WARN 0 | SKIP 0 | PASS 33 ]
  Error: Test failures
  Execution halted
...

* checking re-building of vignette outputs ... ERROR
Error(s) in re-building vignettes:
  ...
--- re-building 'vignette.Rmd' using rmarkdown

Quitting from lines 103-105 [unnamed-chunk-4] (vignette.Rmd)
Error: processing vignette 'vignette.Rmd' failed with diagnostics:
When 'measure.vars' is a list, 'value.name' must be a character vector of length =1 or =length(measure.vars).
--- failed re-building 'vignette.Rmd'

SUMMARY: processing the following file failed:
  'vignette.Rmd'

Error: Vignette re-building failed.
Execution halted

git bisect says the first commit for which this happens is #4731

From the error message, it looks like this should be fixed on the user side, but I will investigate further.

Metadata

Metadata

Assignees

Labels

revdepReverse dependencies

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions