Running ‘testthat.R’ [73s/107s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > 
  > 
  > library(testthat)
  > library(loon.ggplot)
  Loading required package: tcltk
  Loading required package: loon
  loon Version 1.4.0.
  To learn more about loon, see l_web().
  Loading required package: ggplot2
  Loading required package: ggmulti
  Random tip: See "A Grammar Of Interactive Graphics" at l_web(package =
              "loon.ggplot", page = "grammarOfInteractiveGraphics",
              directory = "articles")
  > 
  > test_check("loon.ggplot")
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |======                                                                |   8%
    |                                                                            
    |============                                                          |  17%
    |                                                                            
    |==================                                                    |  25%
    |                                                                            
    |=======================                                               |  33%
    |                                                                            
    |=============================                                         |  42%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |=========================================                             |  58%
    |                                                                            
    |===============================================                       |  67%
    |                                                                            
    |====================================================                  |  75%
    |                                                                            
    |==========================================================            |  83%
    |                                                                            
    |================================================================      |  92%
    |                                                                            
    |======================================================================| 100%
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |======                                                                |   8%
    |                                                                            
    |============                                                          |  17%
    |                                                                            
    |==================                                                    |  25%
    |                                                                            
    |=======================                                               |  33%
    |                                                                            
    |=============================                                         |  42%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |=========================================                             |  58%
    |                                                                            
    |===============================================                       |  67%
    |                                                                            
    |====================================================                  |  75%
    |                                                                            
    |==========================================================            |  83%
    |                                                                            
    |================================================================      |  92%
    |                                                                            
    |======================================================================| 100%
  scale images...
    done
  scale images...
    done
  scale images...
    done
  scale images...
    done
  [ FAIL 3 | WARN 5 | SKIP 0 | PASS 137 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_ggplot2loon_geometricObjects.R:35'): geometric layers (ggplot to loon) ──
  Error in `structure(.External(.C_dotTclObjv, objv), class = "tclObj")`: [tcl] can't use non-numeric string as operand of "-".
  
  Backtrace:
       ▆
    1. ├─loon.ggplot::ggplot2loon(p) at test_ggplot2loon_geometricObjects.R:35:2
    2. └─loon.ggplot:::ggplot2loon.ggplot(p)
    3.   └─loon.ggplot:::get_plotInfo(...)
    4.     └─loon.ggplot:::loonPlot_configure(...)
    5.       ├─loon::l_configure(...)
    6.       └─loon:::l_configure.loon(...)
    7.         ├─base::do.call("obj_eval", args)
    8.         └─loon (local) obj_eval(...)
    9.           ├─base::do.call("tcl", append(call, list(...)))
   10.           └─tcltk::tcl(...)
   11.             └─tcltk::.Tcl.objv(.Tcl.args.objv(...))
   12.               └─base::structure(.External(.C_dotTclObjv, objv), class = "tclObj")
  ── Error ('test_ggplot2loon_serialAxesCoord.R:13'): test serialaxes ggplot 2 loon ──
  Error in `data.frame(linkingKey = linkingKey[index], itemLabel = itemLabel[index], 
      linewidth = size, color = color)`: arguments imply differing number of rows: 150, 0
  Backtrace:
       ▆
    1. ├─loon.ggplot::loon.ggplot(p) at test_ggplot2loon_serialAxesCoord.R:13:12
    2. └─loon.ggplot:::loon.ggplot.l_ggplot(p)
    3.   ├─base::do.call(ggplot2loon, c(list(ggObj = x), params))
    4.   ├─loon.ggplot (local) `<fn>`(ggObj = `<l_ggplot>`)
    5.   └─loon.ggplot:::ggplot2loon.ggplot(ggObj = `<l_ggplot>`)
    6.     └─loon.ggplot:::get_plotInfo(...)
    7.       └─loon.ggplot:::l_loonPlot(...)
    8.         └─loon.ggplot:::l_serialaxesplot(...)
    9.           ├─loon.ggplot:::modify_n_dim_data(...)
   10.           └─base::data.frame(...)
  ── Error ('test_inputNDimData.R:29'): n dimensional states input with NA ───────
  Error in `data.frame(linkingKey = linkingKey[index], itemLabel = itemLabel[index], 
      linewidth = size, color = color)`: arguments imply differing number of rows: 150, 0
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test_inputNDimData.R:29:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─loon.ggplot::loon.ggplot(...)
    7. └─loon.ggplot:::loon.ggplot.gg(...)
    8.   ├─loon.ggplot::ggplot2loon(x, ...)
    9.   └─loon.ggplot:::ggplot2loon.ggplot(x, ...)
   10.     └─loon.ggplot:::get_plotInfo(...)
   11.       └─loon.ggplot:::l_loonPlot(...)
   12.         └─loon.ggplot:::l_serialaxesplot(...)
   13.           ├─loon.ggplot:::modify_n_dim_data(...)
   14.           └─base::data.frame(...)
  
  [ FAIL 3 | WARN 5 | SKIP 0 | PASS 137 ]
  Error: Test failures
  Execution halted