Running ‘testthat.R’ [14s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(auditor)
  > 
  > test_check("auditor")
  1 out of 72 
  2 out of 72 
  3 out of 72 
  4 out of 72 
  5 out of 72 
  6 out of 72 
  7 out of 72 
  8 out of 72 
  9 out of 72 
  10 out of 72 
  11 out of 72 
  12 out of 72 
  13 out of 72 
  14 out of 72 
  15 out of 72 
  16 out of 72 
  17 out of 72 
  18 out of 72 
  19 out of 72 
  20 out of 72 
  21 out of 72 
  22 out of 72 
  23 out of 72 
  24 out of 72 
  25 out of 72 
  26 out of 72 
  27 out of 72 
  28 out of 72 
  29 out of 72 
  30 out of 72 
  31 out of 72 
  32 out of 72 
  33 out of 72 
  34 out of 72 
  35 out of 72 
  36 out of 72 
  37 out of 72 
  38 out of 72 
  39 out of 72 
  40 out of 72 
  41 out of 72 
  42 out of 72 
  43 out of 72 
  44 out of 72 
  45 out of 72 
  46 out of 72 
  47 out of 72 
  48 out of 72 
  49 out of 72 
  50 out of 72 
  51 out of 72 
  52 out of 72 
  53 out of 72 
  54 out of 72 
  55 out of 72 
  56 out of 72 
  57 out of 72 
  58 out of 72 
  59 out of 72 
  60 out of 72 
  61 out of 72 
  62 out of 72 
  63 out of 72 
  64 out of 72 
  65 out of 72 
  66 out of 72 
  67 out of 72 
  68 out of 72 
  69 out of 72 
  70 out of 72 
  71 out of 72 
  72 out of 72 
  Gaussian model (glm object) 
  Gaussian model (lm object) 
  ── 1. Error: plot (@test_plotsR.R#68)  ─────────────────────────────────────────
  VECTOR_ELT() can only be applied to a 'list', not a 'double'
  1: expect_is(plot(au.lm, au.rf, type = "ModelRanking"), "gtable") at testthat/test_plotsR.R:68
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: plot(au.lm, au.rf, type = "ModelRanking")
  5: plot.modelAudit(au.lm, au.rf, type = "ModelRanking")
  6: plotTypePlot(object, ..., type = type)
  7: plotModelRanking(x, ...)
  8: grid.arrange(p, table_score, ncol = 2, widths = c(2, 1))
  9: arrangeGrob(...)
  10: lapply(grobs[toconv], ggplot2::ggplotGrob)
  ...
  25: pushvpgp(x)
  26: pushgrobvp(x$vp)
  27: pushgrobvp.viewport(x$vp)
  28: pushViewport(vp, recording = FALSE)
  29: lapply(vps, push.vp, recording)
  30: FUN(X[[i]], ...)
  31: push.vp.vpTree(X[[i]], ...)
  32: push.vp(vp$parent, recording)
  33: push.vp.viewport(vp$parent, recording)
  34: grid.Call.graphics(C_setviewport, vp, TRUE)
  
  1 out of 72 
  2 out of 72 
  3 out of 72 
  4 out of 72 
  5 out of 72 
  6 out of 72 
  7 out of 72 
  8 out of 72 
  9 out of 72 
  10 out of 72 
  11 out of 72 
  12 out of 72 
  13 out of 72 
  14 out of 72 
  15 out of 72 
  16 out of 72 
  17 out of 72 
  18 out of 72 
  19 out of 72 
  20 out of 72 
  21 out of 72 
  22 out of 72 
  23 out of 72 
  24 out of 72 
  25 out of 72 
  26 out of 72 
  27 out of 72 
  28 out of 72 
  29 out of 72 
  30 out of 72 
  31 out of 72 
  32 out of 72 
  33 out of 72 
  34 out of 72 
  35 out of 72 
  36 out of 72 
  37 out of 72 
  38 out of 72 
  39 out of 72 
  40 out of 72 
  41 out of 72 
  42 out of 72 
  43 out of 72 
  44 out of 72 
  45 out of 72 
  46 out of 72 
  47 out of 72 
  48 out of 72 
  49 out of 72 
  50 out of 72 
  51 out of 72 
  52 out of 72 
  53 out of 72 
  54 out of 72 
  55 out of 72 
  56 out of 72 
  57 out of 72 
  58 out of 72 
  59 out of 72 
  60 out of 72 
  61 out of 72 
  62 out of 72 
  63 out of 72 
  64 out of 72 
  65 out of 72 
  66 out of 72 
  67 out of 72 
  68 out of 72 
  69 out of 72 
  70 out of 72 
  71 out of 72 
  72 out of 72 
  Gaussian model (lm object) 
  Gaussian model (lm object) 
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 47 SKIPPED: 0 FAILED: 1
  1. Error: plot (@test_plotsR.R#68) 
  
  Error: testthat unit tests failed
  Execution halted