Running ‘run-all.R’ [3s/15s]
Running the tests in ‘tests/run-all.R’ failed.
Complete output:
  > library(testthat)
  > library(BBmisc)
  
  Attaching package: 'BBmisc'
  
  The following object is masked from 'package:base':
  
      isFALSE
  
  > library(ParamHelpers)
  > 
  > test_check("ParamHelpers")
  ── 1. Error: num vec (@test_LearnerParam.R#4)  ─────────────────────────────────
  LOGICAL() can only be applied to a 'logical', not a 'double'
  1: makeNumericVectorLearnerParam("x", len = 2, lower = 0, upper = 2) at testthat/test_LearnerParam.R:4
  2: makeParam(id = id, type = "numericvector", learner.param = TRUE, len = len, lower = lower, 
         upper = upper, allow.inf = allow.inf, default = default, requires = requires, 
         tunable = tunable, special.vals = special.vals, when = when)
  3: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  4: assertChoice(combine, c("or", "and"))
  5: checkChoice(x, choices, null.ok, fmatch)
  6: qassert(null.ok, "B1")
  
  ── 2. Error: int vec (@test_LearnerParam.R#25)  ────────────────────────────────
  LOGICAL() can only be applied to a 'logical', not a 'double'
  1: makeIntegerVectorLearnerParam("x", len = 2, lower = 0L, upper = 2L) at testthat/test_LearnerParam.R:25
  2: makeParam(id = id, type = "integervector", learner.param = TRUE, len = len, lower = lower, 
         upper = upper, default = default, requires = requires, tunable = tunable, special.vals = special.vals, 
         when = when)
  3: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  4: assertChoice(combine, c("or", "and"))
  5: checkChoice(x, choices, null.ok, fmatch)
  6: qassert(null.ok, "B1")
  
  ── 3. Error: log vec (@test_LearnerParam.R#43)  ────────────────────────────────
  LOGICAL() can only be applied to a 'logical', not a 'builtin'
  1: makeLogicalVectorLearnerParam("x", len = 2) at testthat/test_LearnerParam.R:43
  2: makeParam(id = id, type = "logicalvector", learner.param = TRUE, len = len, values = values, 
         default = default, requires = requires, tunable = tunable, special.vals = special.vals, 
         when = when)
  3: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  4: assertChoice(combine, c("or", "and"))
  5: checkChoice(x, choices, null.ok, fmatch)
  6: qassert(null.ok, "B1")
  
  ── 4. Error: disc vec (@test_LearnerParam.R#58)  ───────────────────────────────
  LOGICAL() can only be applied to a 'logical', not a 'builtin'
  1: makeDiscreteVectorLearnerParam("x", len = 2, values = list(a = "a", b = m)) at testthat/test_LearnerParam.R:58
  2: makeParam(id = id, type = "discretevector", learner.param = TRUE, len = len, values = values, 
         default = default, requires = requires, tunable = tunable, special.vals = special.vals, 
         when = when)
  3: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  4: assertChoice(combine, c("or", "and"))
  5: checkChoice(x, choices, null.ok, fmatch)
  6: qassert(null.ok, "B1")
  
  ── 5. Error: untyped (@test_LearnerParam.R#75)  ────────────────────────────────
  LOGICAL() can only be applied to a 'logical', not a 'builtin'
  1: makeUntypedLearnerParam("x") at testthat/test_LearnerParam.R:75
  2: makeParam(id = id, type = "untyped", learner.param = TRUE, default = default, requires = requires, 
         tunable = tunable, special.vals = special.vals, when = when)
  3: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  4: assertChoice(combine, c("or", "and"))
  5: checkChoice(x, choices, null.ok, fmatch)
  6: qassert(null.ok, "B1")
  
  ── 6. Error: s4 objs works for values (@test_LearnerParam.R#89)  ───────────────
  LOGICAL() can only be applied to a 'logical', not a 'raw'
  1: makeDiscreteLearnerParam("x", values = vals) at testthat/test_LearnerParam.R:89
  2: makeParam(id = id, type = "discrete", learner.param = TRUE, values = values, default = default, 
         requires = requires, tunable = tunable, special.vals = special.vals, when = when)
  3: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  4: assertChoice(combine, c("or", "and"))
  5: checkChoice(x, choices, null.ok, fmatch)
  6: qassert(null.ok, "B1")
  
  ── 7. Error: unknown length works (@test_LearnerParam.R#97)  ───────────────────
  LOGICAL() can only be applied to a 'logical', not a 'raw'
  1: makeNumericVectorLearnerParam("x", len = NA, lower = 1) at testthat/test_LearnerParam.R:97
  2: makeParam(id = id, type = "numericvector", learner.param = TRUE, len = len, lower = lower, 
         upper = upper, allow.inf = allow.inf, default = default, requires = requires, 
         tunable = tunable, special.vals = special.vals, when = when)
  3: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  4: assertChoice(combine, c("or", "and"))
  5: checkChoice(x, choices, null.ok, fmatch)
  6: qassert(null.ok, "B1")
  
  ── 8. Error: expressions work (@test_LearnerParam.R#106)  ──────────────────────
  LOGICAL() can only be applied to a 'logical', not a 'NULL'
  1: makeParamSet(makeNumericVectorLearnerParam("x"), makeNumericVectorLearnerParam("y", 
         upper = expression(n)), keys = "n") at testthat/test_LearnerParam.R:106
  2: makeNumericVectorLearnerParam("x")
  3: makeParam(id = id, type = "numericvector", learner.param = TRUE, len = len, lower = lower, 
         upper = upper, allow.inf = allow.inf, default = default, requires = requires, 
         tunable = tunable, special.vals = special.vals, when = when)
  4: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  5: assertChoice(combine, c("or", "and"))
  6: checkChoice(x, choices, null.ok, fmatch)
  7: qassert(null.ok, "B1")
  
  ── 9. Error: OptPath (@test_OptPath.R#4)  ──────────────────────────────────────
  LOGICAL() can only be applied to a 'logical', not a 'NULL'
  1: makeParamSet(makeNumericParam("x"), makeDiscreteParam("y", values = c("a", "b"))) at testthat/test_OptPath.R:4
  2: makeNumericParam("x")
  3: makeParam(id = id, type = "numeric", learner.param = FALSE, lower = lower, upper = upper, 
         allow.inf = allow.inf, default = default, trafo = trafo, requires = requires, 
         tunable = tunable, special.vals = special.vals)
  4: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  5: assertChoice(combine, c("or", "and"))
  6: checkChoice(x, choices, null.ok, fmatch)
  7: qassert(null.ok, "B1")
  
  ── 10. Error: OptPath with vector and discrete params works (@test_OptPath.R#85)
  LOGICAL() can only be applied to a 'logical', not a 'NULL'
  1: makeParamSet(makeIntegerVectorParam("x0", len = 2), makeDiscreteParam("x1", values = c("a", 
         "b")), makeDiscreteParam("x2", values = 1:2), makeDiscreteParam("x3", values = c(1.2, 
         5)), makeDiscreteParam("x4", values = list(foo = identity, bar = list())), makeLogicalParam("x5"), 
         makeDiscreteVectorParam("x6", len = 2, values = list(a = identity, b = 1)), makeLogicalVectorParam("x7", 
             len = 3), makeCharacterParam("x8")) at testthat/test_OptPath.R:85
  2: makeIntegerVectorParam("x0", len = 2)
  3: makeParam(id = id, type = "integervector", learner.param = FALSE, len = len, lower = lower, 
         upper = upper, cnames = cnames, default = default, trafo = trafo, requires = requires, 
         tunable = tunable, special.vals = special.vals)
  4: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  5: assertChoice(combine, c("or", "and"))
  6: checkChoice(x, choices, null.ok, fmatch)
  7: qassert(null.ok, "B1")
  
  ── 11. Error: getOptPathBestIndex tie-handling (@test_OptPath.R#147)  ──────────
  LOGICAL() can only be applied to a 'logical', not a 'NULL'
  1: makeParamSet(makeNumericParam("x")) at testthat/test_OptPath.R:147
  2: makeNumericParam("x")
  3: makeParam(id = id, type = "numeric", learner.param = FALSE, lower = lower, upper = upper, 
         allow.inf = allow.inf, default = default, trafo = trafo, requires = requires, 
         tunable = tunable, special.vals = special.vals)
  4: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  5: assertChoice(combine, c("or", "and"))
  6: checkChoice(x, choices, null.ok, fmatch)
  7: qassert(null.ok, "B1")
  
  ── 12. Error: requires works (@test_OptPath.R#177)  ────────────────────────────
  LOGICAL() can only be applied to a 'logical', not a 'NULL'
  1: makeParamSet(makeDiscreteParam("x", values = c("a", "b")), makeNumericParam("y", 
         lower = 1, upper = 2, requires = quote(x == "a")), makeIntegerVectorParam("z", 
         len = 2, lower = 1, upper = 20, requires = quote(x == "b"))) at testthat/test_OptPath.R:177
  2: makeDiscreteParam("x", values = c("a", "b"))
  3: makeParam(id = id, type = "discrete", learner.param = FALSE, values = values, default = default, 
         trafo = trafo, requires = requires, tunable = tunable, special.vals = special.vals)
  4: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  5: assertChoice(combine, c("or", "and"))
  6: checkChoice(x, choices, null.ok, fmatch)
  7: qassert(null.ok, "B1")
  
  ── 13. Error: pareto front (@test_OptPath.R#202)  ──────────────────────────────
  LOGICAL() can only be applied to a 'logical', not a 'NULL'
  1: makeParamSet(makeNumericParam("x")) at testthat/test_OptPath.R:202
  2: makeNumericParam("x")
  3: makeParam(id = id, type = "numeric", learner.param = FALSE, lower = lower, upper = upper, 
         allow.inf = allow.inf, default = default, trafo = trafo, requires = requires, 
         tunable = tunable, special.vals = special.vals)
  4: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  5: assertChoice(combine, c("or", "and"))
  6: checkChoice(x, choices, null.ok, fmatch)
  7: qassert(null.ok, "B1")
  
  ── 14. Error: error message and exec time works (@test_OptPath.R#224)  ─────────
  LOGICAL() can only be applied to a 'logical', not a 'NULL'
  1: makeParamSet(makeNumericParam("x")) at testthat/test_OptPath.R:224
  2: makeNumericParam("x")
  3: makeParam(id = id, type = "numeric", learner.param = FALSE, lower = lower, upper = upper, 
         allow.inf = allow.inf, default = default, trafo = trafo, requires = requires, 
         tunable = tunable, special.vals = special.vals)
  4: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  5: assertChoice(combine, c("or", "and"))
  6: checkChoice(x, choices, null.ok, fmatch)
  7: qassert(null.ok, "B1")
  
  ── 15. Error: logging extra works (@test_OptPath.R#248)  ───────────────────────
  LOGICAL() can only be applied to a 'logical', not a 'NULL'
  1: makeParamSet(makeNumericParam("v")) at testthat/test_OptPath.R:248
  2: makeNumericParam("v")
  3: makeParam(id = id, type = "numeric", learner.param = FALSE, lower = lower, upper = upper, 
         allow.inf = allow.inf, default = default, trafo = trafo, requires = requires, 
         tunable = tunable, special.vals = special.vals)
  4: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  5: assertChoice(combine, c("or", "and"))
  6: checkChoice(x, choices, null.ok, fmatch)
  7: qassert(null.ok, "B1")
  
  ── 16. Error: exta entries with dots may be nonscalar (@test_OptPath.R#261)  ───
  LOGICAL() can only be applied to a 'logical', not a 'NULL'
  1: makeParamSet(makeNumericParam("v")) at testthat/test_OptPath.R:261
  2: makeNumericParam("v")
  3: makeParam(id = id, type = "numeric", learner.param = FALSE, lower = lower, upper = upper, 
         allow.inf = allow.inf, default = default, trafo = trafo, requires = requires, 
         tunable = tunable, special.vals = special.vals)
  4: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  5: assertChoice(combine, c("or", "and"))
  6: checkChoice(x, choices, null.ok, fmatch)
  7: qassert(null.ok, "B1")
  
  ── 17. Error: as.data.frame flags and getCols works (@test_OptPath.R#274)  ─────
  LOGICAL() can only be applied to a 'logical', not a 'NULL'
  1: makeParamSet(makeNumericParam("x"), makeDiscreteParam("y", values = c("a", "b"))) at testthat/test_OptPath.R:274
  2: makeNumericParam("x")
  3: makeParam(id = id, type = "numeric", learner.param = FALSE, lower = lower, upper = upper, 
         allow.inf = allow.inf, default = default, trafo = trafo, requires = requires, 
         tunable = tunable, special.vals = special.vals)
  4: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  5: assertChoice(combine, c("or", "and"))
  6: checkChoice(x, choices, null.ok, fmatch)
  7: qassert(null.ok, "B1")
  
  ── 18. Error: opt.path printing works (@test_OptPath.R#325)  ───────────────────
  LOGICAL() can only be applied to a 'logical', not a 'NULL'
  1: makeParamSet(makeNumericParam("x"), makeDiscreteParam("y", values = c("a", "b"))) at testthat/test_OptPath.R:325
  2: makeNumericParam("x")
  3: makeParam(id = id, type = "numeric", learner.param = FALSE, lower = lower, upper = upper, 
         allow.inf = allow.inf, default = default, trafo = trafo, requires = requires, 
         tunable = tunable, special.vals = special.vals)
  4: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  5: assertChoice(combine, c("or", "and"))
  6: checkChoice(x, choices, null.ok, fmatch)
  7: qassert(null.ok, "B1")
  
  ── 19. Error: num param (@test_Param.R#4)  ─────────────────────────────────────
  LOGICAL() can only be applied to a 'logical', not a 'raw'
  1: makeNumericParam(id = "x", lower = -1L, upper = 1) at testthat/test_Param.R:4
  2: makeParam(id = id, type = "numeric", learner.param = FALSE, lower = lower, upper = upper, 
         allow.inf = allow.inf, default = default, trafo = trafo, requires = requires, 
         tunable = tunable, special.vals = special.vals)
  3: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  4: assertChoice(combine, c("or", "and"))
  5: checkChoice(x, choices, null.ok, fmatch)
  6: qassert(null.ok, "B1")
  
  ── 20. Error: num vec param (@test_Param.R#47)  ────────────────────────────────
  LOGICAL() can only be applied to a 'logical', not a 'raw'
  1: makeNumericVectorParam(id = "x", lower = -1L, upper = 1, len = 2) at testthat/test_Param.R:47
  2: makeParam(id = id, type = "numericvector", learner.param = FALSE, len = len, lower = lower, 
         upper = upper, cnames = cnames, allow.inf = allow.inf, default = default, trafo = trafo, 
         requires = requires, tunable = tunable, special.vals = special.vals)
  3: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  4: assertChoice(combine, c("or", "and"))
  5: checkChoice(x, choices, null.ok, fmatch)
  6: qassert(null.ok, "B1")
  
  ── 21. Error: int param (@test_Param.R#82)  ────────────────────────────────────
  LOGICAL() can only be applied to a 'logical', not a 'raw'
  1: makeIntegerParam(id = "x", lower = -1L, upper = 1) at testthat/test_Param.R:82
  2: makeParam(id = id, type = "integer", learner.param = FALSE, lower = lower, upper = upper, 
         default = default, trafo = trafo, requires = requires, tunable = tunable, special.vals = special.vals)
  3: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  4: assertChoice(combine, c("or", "and"))
  5: checkChoice(x, choices, null.ok, fmatch)
  6: qassert(null.ok, "B1")
  
  ── 22. Error: int vec param (@test_Param.R#118)  ───────────────────────────────
  LOGICAL() can only be applied to a 'logical', not a 'raw'
  1: makeIntegerVectorParam(id = "x", lower = -10L, upper = 10, len = 2) at testthat/test_Param.R:118
  2: makeParam(id = id, type = "integervector", learner.param = FALSE, len = len, lower = lower, 
         upper = upper, cnames = cnames, default = default, trafo = trafo, requires = requires, 
         tunable = tunable, special.vals = special.vals)
  3: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  4: assertChoice(combine, c("or", "and"))
  5: checkChoice(x, choices, null.ok, fmatch)
  6: qassert(null.ok, "B1")
  
  ── 23. Error: discrete param (@test_Param.R#154)  ──────────────────────────────
  LOGICAL() can only be applied to a 'logical', not a 'raw'
  1: makeDiscreteParam(id = "x", values = list(a = "char", b = 2L, c = 2.2, d = f, "e")) at testthat/test_Param.R:154
  2: makeParam(id = id, type = "discrete", learner.param = FALSE, values = values, default = default, 
         trafo = trafo, requires = requires, tunable = tunable, special.vals = special.vals)
  3: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  4: assertChoice(combine, c("or", "and"))
  5: checkChoice(x, choices, null.ok, fmatch)
  6: qassert(null.ok, "B1")
  
  ── 24. Error: discrete vec param (@test_Param.R#181)  ──────────────────────────
  LOGICAL() can only be applied to a 'logical', not a 'raw'
  1: makeDiscreteVectorParam(id = "x", len = 2, values = list(a = "char", b = 2L, c = 2.2, 
         d = f, "e")) at testthat/test_Param.R:181
  2: makeParam(id = id, type = "discretevector", learner.param = FALSE, len = len, values = values, 
         default = default, trafo = NULL, requires = requires, tunable = tunable, special.vals = special.vals)
  3: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  4: assertChoice(combine, c("or", "and"))
  5: checkChoice(x, choices, null.ok, fmatch)
  6: qassert(null.ok, "B1")
  
  ── 25. Error: logic param (@test_Param.R#203)  ─────────────────────────────────
  LOGICAL() can only be applied to a 'logical', not a 'raw'
  1: makeLogicalParam(id = "x") at testthat/test_Param.R:203
  2: makeParam(id = id, type = "logical", learner.param = FALSE, values = values, default = default, 
         trafo = NULL, requires = requires, tunable = tunable, special.vals = special.vals)
  3: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  4: assertChoice(combine, c("or", "and"))
  5: checkChoice(x, choices, null.ok, fmatch)
  6: qassert(null.ok, "B1")
  
  ── 26. Error: logic vec param (@test_Param.R#215)  ─────────────────────────────
  LOGICAL() can only be applied to a 'logical', not a 'raw'
  1: makeLogicalVectorParam(id = "x", len = 2) at testthat/test_Param.R:215
  2: makeParam(id = id, type = "logicalvector", learner.param = FALSE, len = len, values = values, 
         cnames = cnames, default = default, trafo = NULL, requires = requires, tunable = tunable, 
         special.vals = special.vals)
  3: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  4: assertChoice(combine, c("or", "and"))
  5: checkChoice(x, choices, null.ok, fmatch)
  6: qassert(null.ok, "B1")
  
  ── 27. Error: character param (@test_Param.R#227)  ─────────────────────────────
  LOGICAL() can only be applied to a 'logical', not a 'raw'
  1: makeCharacterParam(id = "s") at testthat/test_Param.R:227
  2: makeParam(id = id, type = "character", learner.param = FALSE, default = default, 
         trafo = NULL, requires = requires, tunable = FALSE, special.vals = special.vals)
  3: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  4: assertChoice(combine, c("or", "and"))
  5: checkChoice(x, choices, null.ok, fmatch)
  6: qassert(null.ok, "B1")
  
  ── 28. Error: character vec param (@test_Param.R#238)  ─────────────────────────
  LOGICAL() can only be applied to a 'logical', not a 'raw'
  1: makeCharacterVectorParam(id = "x", len = 2) at testthat/test_Param.R:238
  2: makeParam(id = id, type = "charactervector", learner.param = FALSE, len = len, cnames = cnames, 
         default = default, trafo = NULL, requires = requires, tunable = FALSE, special.vals = special.vals)
  3: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  4: assertChoice(combine, c("or", "and"))
  5: checkChoice(x, choices, null.ok, fmatch)
  6: qassert(null.ok, "B1")
  
  ── 29. Error: function param (@test_Param.R#252)  ──────────────────────────────
  LOGICAL() can only be applied to a 'logical', not a 'raw'
  1: makeFunctionParam(id = "x") at testthat/test_Param.R:252
  2: makeParam(id = id, type = "function", learner.param = FALSE, values = NULL, default = default, 
         trafo = NULL, requires = requires, tunable = FALSE, special.vals = special.vals)
  3: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  4: assertChoice(combine, c("or", "and"))
  5: checkChoice(x, choices, null.ok, fmatch)
  6: qassert(null.ok, "B1")
  
  ── 30. Error: untyped param (@test_Param.R#263)  ───────────────────────────────
  LOGICAL() can only be applied to a 'logical', not a 'raw'
  1: makeUntypedParam(id = "x") at testthat/test_Param.R:263
  2: makeParam(id = id, type = "untyped", learner.param = FALSE, values = NULL, default = default, 
         trafo = NULL, requires = requires, tunable = TRUE, special.vals = special.vals)
  3: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  4: assertChoice(combine, c("or", "and"))
  5: checkChoice(x, choices, null.ok, fmatch)
  6: qassert(null.ok, "B1")
  
  ── 31. Error: param print works (@test_Param.R#271)  ───────────────────────────
  LOGICAL() can only be applied to a 'logical', not a 'raw'
  1: makeNumericParam(id = "x", lower = -1L, upper = 1) at testthat/test_Param.R:271
  2: makeParam(id = id, type = "numeric", learner.param = FALSE, lower = lower, upper = upper, 
         allow.inf = allow.inf, default = default, trafo = trafo, requires = requires, 
         tunable = tunable, special.vals = special.vals)
  3: assert(checkCount(len, na.ok = learner.param), checkClass(len, "expression"))
  4: assertChoice(combine, c("or", "and"))
  5: checkChoice(x, choices, null.ok, fmatch)
  6: qassert(null.ok, "B1")
  
  
   *** caught segfault ***
  address 18b17761, cause 'memory not mapped'
  
  Traceback:
   1: qassert(null.ok, "B1")
   2: checkChoice(x, choices, null.ok, fmatch)
   3: assertChoice(combine, c("or", "and"))
   4: assert(checkCount(len, na.ok = learner.param), checkClass(len,     "expression"))
   5: makeParam(id = id, type = "numericvector", learner.param = FALSE,     len = len, lower = lower, upper = upper, cnames = cnames,     allow.inf = allow.inf, default = default, trafo = trafo,     requires = requires, tunable = tunable, special.vals = special.vals)
   6: makeNumericVectorParam("x", len = NA)
   7: eval_bare(get_expr(quo), get_env(quo))
   8: doTryCatch(return(expr), name, parentenv, handler)
   9: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  10: tryCatchList(expr, classes, parentenv, handlers)
  11: tryCatch({    code    NULL}, error = function(e) e)
  12: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
  13: quasi_capture(enquo(object), capture_error, label = label)
  14: expect_error(makeNumericVectorParam("x", len = NA))
  15: eval(code, test_env)
  16: eval(code, test_env)
  17: withCallingHandlers({    eval(code, test_env)    if (!handled && !is.null(test)) {        skip_empty()    }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning,     message = handle_message, error = handle_error)
  18: doTryCatch(return(expr), name, parentenv, handler)
  19: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  20: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  21: doTryCatch(return(expr), name, parentenv, handler)
  22: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  23: tryCatchList(expr, classes, parentenv, handlers)
  24: tryCatch(withCallingHandlers({    eval(code, test_env)    if (!handled && !is.null(test)) {        skip_empty()    }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning,     message = handle_message, error = handle_error), error = handle_fatal,     skip = function(e) {    })
  25: test_code(desc, code, env = parent.frame())
  26: test_that("normal (not learner) vec param cannot have NA lengths",     {        expect_error(makeNumericVectorParam("x", len = NA))        expect_error(makeIntegerVectorParam("x", len = NA))        expect_error(makeDiscreteVectorParam("x", values = 1:2,             len = NA))    })
  27: eval(code, test_env)
  28: eval(code, test_env)
  29: withCallingHandlers({    eval(code, test_env)    if (!handled && !is.null(test)) {        skip_empty()    }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning,     message = handle_message, error = handle_error)
  30: doTryCatch(return(expr), name, parentenv, handler)
  31: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  32: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  33: doTryCatch(return(expr), name, parentenv, handler)
  34: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  35: tryCatchList(expr, classes, parentenv, handlers)
  36: tryCatch(withCallingHandlers({    eval(code, test_env)    if (!handled && !is.null(test)) {        skip_empty()    }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning,     message = handle_message, error = handle_error), error = handle_fatal,     skip = function(e) {    })
  37: test_code(NULL, exprs, env)
  38: source_file(path, new.env(parent = env), chdir = TRUE, wrap = wrap)
  39: force(code)
  40: with_reporter(reporter = reporter, start_end_reporter = start_end_reporter,     {        lister$start_file(basename(path))        source_file(path, new.env(parent = env), chdir = TRUE,             wrap = wrap)        end_context()    })
  41: FUN(X[[i]], ...)
  42: lapply(paths, test_file, env = env, reporter = current_reporter,     start_end_reporter = FALSE, load_helpers = FALSE, wrap = wrap)
  43: force(code)
  44: with_reporter(reporter = current_reporter, results <- lapply(paths,     test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE,     load_helpers = FALSE, wrap = wrap))
  45: test_files(paths, reporter = reporter, env = env, stop_on_failure = stop_on_failure,     stop_on_warning = stop_on_warning, wrap = wrap)
  46: test_dir(path = test_path, reporter = reporter, env = env, filter = filter,     ..., stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning,     wrap = wrap)
  47: test_package_dir(package = package, test_path = test_path, filter = filter,     reporter = reporter, ..., stop_on_failure = stop_on_failure,     stop_on_warning = stop_on_warning, wrap = wrap)
  48: test_check("ParamHelpers")
  An irrecoverable exception occurred. R is aborting now ...