* using log directory 'd:/Rcompile/CRANpkg/local/4.0/mlr3hyperband.Rcheck' * using R version 4.0.5 (2021-03-31) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'mlr3hyperband/DESCRIPTION' ... OK * this is package 'mlr3hyperband' version '0.4.0' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'mlr3hyperband' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [4s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... [6s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [160s] ERROR Running 'testthat.R' [160s] Running the tests in 'tests/testthat.R' failed. Complete output: > if (requireNamespace("testthat", quietly = TRUE)) { + library("testthat") + library("checkmate") + library("mlr3hyperband") + test_check("mlr3hyperband") + } Loading required package: mlr3tuning Loading required package: mlr3 Loading required package: paradox Starting 2 test processes [ FAIL 2 | WARN 0 | SKIP 0 | PASS 129 ] == Failed tests ================================================================ -- Error (test_TunerHyperband.R:79:3): TunerHyperband works with custom sampler -- Error in `set(xdt, j = budget_id, value = rs)`: Internal error: DT passed to assign has not been allocated enough column slots. l=1, tl=1, adding 1 Backtrace: x 1. \-mlr3hyperband:::test_tuner_hyperband(eta = 2, learner, sampler = sampler) at test_TunerHyperband.R:79:2 2. \-mlr3tuning::tune(...) at d:\RCompile\CRANpkg\local\4.0\mlr3hyperband.Rcheck\tests\testthat\helper.R:26:2 3. \-tuner$optimize(instance) 4. \-mlr3tuning:::.__TunerFromOptimizer__optimize(...) 5. \-private$.optimizer$optimize(inst) 6. \-bbotk:::.__Optimizer__optimize(...) 7. \-bbotk::optimize_default(inst, self, private) 8. +-base::tryCatch(...) 9. | \-base tryCatchList(expr, classes, parentenv, handlers) 10. | \-base tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. | \-base doTryCatch(return(expr), name, parentenv, handler) 12. \-private$.optimize(inst) 13. \-data.table::set(xdt, j = budget_id, value = rs) -- Error (test_TunerSuccessiveHalving.R:96:3): TunerSuccessiveHalving works with custom sampler -- Error in `set(xdt, j = budget_id, value = ri)`: Internal error: DT passed to assign has not been allocated enough column slots. l=1, tl=1, adding 1 Backtrace: x 1. \-mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerSuccessiveHalving.R:96:2 2. \-mlr3tuning::tune(...) at d:\RCompile\CRANpkg\local\4.0\mlr3hyperband.Rcheck\tests\testthat\helper.R:63:2 3. \-tuner$optimize(instance) 4. \-mlr3tuning:::.__TunerFromOptimizer__optimize(...) 5. \-private$.optimizer$optimize(inst) 6. \-bbotk:::.__Optimizer__optimize(...) 7. \-bbotk::optimize_default(inst, self, private) 8. +-base::tryCatch(...) 9. | \-base tryCatchList(expr, classes, parentenv, handlers) 10. | \-base tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. | \-base doTryCatch(return(expr), name, parentenv, handler) 12. \-private$.optimize(inst) 13. \-data.table::set(xdt, j = budget_id, value = ri) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 129 ] Error: Test failures Execution halted * checking PDF version of manual ... OK * DONE Status: 1 ERROR