tdhock / mlr3resampling

Resampling algorithms for mlr3 framework in R
3 stars 1 forks source link

CRAN re-building vignette error #1

Closed tdhock closed 10 months ago

tdhock commented 10 months ago
Version: 2023.12.20
Check: re-building of vignette outputs
Result: ERROR 
  Error(s) in re-building vignettes:
    ...
  --- re-building ‘Simulations.Rmd’ using rmarkdown

  Quitting from lines 543-708 [SimulationsAnimintClassification] (Simulations.Rmd)
  Error: processing vignette 'Simulations.Rmd' failed with diagnostics:
  Passed a vector of type 'NULL'. Needs to be type 'character'.
  --- failed re-building ‘Simulations.Rmd’

  SUMMARY: processing the following file failed:
    ‘Simulations.Rmd’

  Error: Vignette re-building failed.
  Execution halted
tdhock commented 10 months ago

this error was emitted by setnames(DT, NULL) It was caused by a recent documented update, so I asked mlr3 for a work-around https://github.com/mlr-org/mlr3/issues/988 Current fix is to look at task instead of learner, to determine column names used for training https://github.com/tdhock/mlr3resampling/commit/8b23667fd001d8d4b5c131055b9f7f109edb2e72