Running ‘test-all.R’ [6s/14s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > library(shiny)
  > 
  > test_check("shiny")
    55: stop
    54: private$decodeStateQueryString
    43: .subset2(public_bind_env, "initialize")
    42: RestoreContext$new
    34: eval [testthat/test-bookmarking.R#35]
    33: eval
    24: test_code
    23: test_that
    22: eval [testthat/test-bookmarking.R#3]
    21: eval
    12: test_code
    11: source_file
     8: FUN
     7: lapply
     4: test_files
     3: test_dir
     2: test_package_dir
     1: test_check
    55: stop
    54: private$decodeStateQueryString
    43: .subset2(public_bind_env, "initialize")
    42: RestoreContext$new
    34: eval [testthat/test-bookmarking.R#36]
    33: eval
    24: test_code
    23: test_that
    22: eval [testthat/test-bookmarking.R#3]
    21: eval
    12: test_code
    11: source_file
     8: FUN
     7: lapply
     4: test_files
     3: test_dir
     2: test_package_dir
     1: test_check
    55: stop
    54: private$decodeStateQueryString
    43: .subset2(public_bind_env, "initialize")
    42: RestoreContext$new
    34: eval [testthat/test-bookmarking.R#37]
    33: eval
    24: test_code
    23: test_that
    22: eval [testthat/test-bookmarking.R#3]
    21: eval
    12: test_code
    11: source_file
     8: FUN
     7: lapply
     4: test_files
     3: test_dir
     2: test_package_dir
     1: test_check
    55: stop
    54: private$decodeStateQueryString
    43: .subset2(public_bind_env, "initialize")
    42: RestoreContext$new
    34: eval [testthat/test-bookmarking.R#38]
    33: eval
    24: test_code
    23: test_that
    22: eval [testthat/test-bookmarking.R#3]
    21: eval
    12: test_code
    11: source_file
     8: FUN
     7: lapply
     4: test_files
     3: test_dir
     2: test_package_dir
     1: test_check
    55: stop
    54: private$decodeStateQueryString
    43: .subset2(public_bind_env, "initialize")
    42: RestoreContext$new
    34: eval [testthat/test-bookmarking.R#39]
    33: eval
    24: test_code
    23: test_that
    22: eval [testthat/test-bookmarking.R#3]
    21: eval
    12: test_code
    11: source_file
     8: FUN
     7: lapply
     4: test_files
     3: test_dir
     2: test_package_dir
     1: test_check
    62: stop
    61: value[[3L]]
    60: tryCatchOne
    59: tryCatchList
    58: tryCatch
    57: <Anonymous>
    56: mapply
    55: valuesFromJSON
    54: private$decodeStateQueryString
    43: .subset2(public_bind_env, "initialize")
    42: RestoreContext$new
    34: eval [testthat/test-bookmarking.R#40]
    33: eval
    24: test_code
    23: test_that
    22: eval [testthat/test-bookmarking.R#3]
    21: eval
    12: test_code
    11: source_file
     8: FUN
     7: lapply
     4: test_files
     3: test_dir
     2: test_package_dir
     1: test_check
    62: stop
    61: value[[3L]]
    60: tryCatchOne
    59: tryCatchList
    58: tryCatch
    57: <Anonymous>
    56: mapply
    55: valuesFromJSON
    54: private$decodeStateQueryString
    43: .subset2(public_bind_env, "initialize")
    42: RestoreContext$new
    34: eval [testthat/test-bookmarking.R#44]
    33: eval
    24: test_code
    23: test_that
    22: eval [testthat/test-bookmarking.R#3]
    21: eval
    12: test_code
    11: source_file
     8: FUN
     7: lapply
     4: test_files
     3: test_dir
     2: test_package_dir
     1: test_check
  ── 1. Error: ggplot coordmap (@test-plot-coordmap.R#24)  ───────────────────────
  VECTOR_ELT() can only be applied to a 'list', not a 'double'
  1: getGgplotCoordmap(print(p), 500, 500, 72) at testthat/test-plot-coordmap.R:24
  2: print(p)
  3: print.ggplot(p)
  4: grid::grid.draw(gtable)
  5: grid.draw.gTree(gtable)
  6: recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
  7: drawGTree(x)
  8: preDraw(x)
  9: preDraw.gTree(x)
  10: pushvpgp(x)
  11: pushgrobvp(x$vp)
  12: pushgrobvp.viewport(x$vp)
  13: pushViewport(vp, recording = FALSE)
  14: lapply(vps, push.vp, recording)
  15: FUN(X[[i]], ...)
  16: push.vp.viewport(X[[i]], ...)
  17: grid.Call.graphics(C_setviewport, vp, TRUE)
  
  ── 2. Error: ggplot coordmap with facet_wrap (@test-plot-coordmap.R#86)  ───────
  VECTOR_ELT() can only be applied to a 'list', not a 'double'
  1: getGgplotCoordmap(print(p), 500, 400, 72) at testthat/test-plot-coordmap.R:86
  2: print(p)
  3: print.ggplot(p)
  4: ggplot2::ggplot_gtable(build)
  5: ggplot_gtable.ggplot_built(build)
  6: layout$render(geom_grobs, data, theme, plot$labels)
  7: f(..., self = self)
  8: self$facet$draw_panels(panels, self$layout, self$panel_scales_x, self$panel_scales_y, 
         self$panel_params, self$coord, data, theme, self$facet_params)
  9: f(...)
  10: render_strips(structure(labels_df, type = "rows"), structure(labels_df, type = "cols"), 
         params$labeller, theme)
  11: build_strip(x, labeller, theme, TRUE)
  12: ggstrip(grobs, theme, element, gp, horizontal, clip = "on")
  13: Summary.unit(structure(c(4.4, 4.4), unit = 8L, class = c("margin", "unit")), na.rm = FALSE)
  
  ── 3. Error: ggplot coordmap with facet_grid (@test-plot-coordmap.R#135)  ──────
  VECTOR_ELT() can only be applied to a 'list', not a 'double'
  1: getGgplotCoordmap(print(p1), 500, 400, 72) at testthat/test-plot-coordmap.R:135
  2: print(p1)
  3: print.ggplot(p1)
  4: ggplot2::ggplot_gtable(build)
  5: ggplot_gtable.ggplot_built(build)
  6: layout$render(geom_grobs, data, theme, plot$labels)
  7: f(..., self = self)
  8: self$facet$draw_panels(panels, self$layout, self$panel_scales_x, self$panel_scales_y, 
         self$panel_params, self$coord, data, theme, self$facet_params)
  9: f(...)
  10: render_strips(col_vars, row_vars, params$labeller, theme)
  11: build_strip(x, labeller, theme, TRUE)
  12: ggstrip(grobs, theme, element, gp, horizontal, clip = "on")
  13: Summary.unit(structure(c(4.4, 4.4), unit = 8L, class = c("margin", "unit")), na.rm = FALSE)
  
  ── 4. Error: ggplot coordmap with 2D facet_grid (@test-plot-coordmap.R#220)  ───
  VECTOR_ELT() can only be applied to a 'list', not a 'double'
  1: getGgplotCoordmap(print(p1), 500, 400, 72) at testthat/test-plot-coordmap.R:220
  2: print(p1)
  3: print.ggplot(p1)
  4: ggplot2::ggplot_gtable(build)
  5: ggplot_gtable.ggplot_built(build)
  6: layout$render(geom_grobs, data, theme, plot$labels)
  7: f(..., self = self)
  8: self$facet$draw_panels(panels, self$layout, self$panel_scales_x, self$panel_scales_y, 
         self$panel_params, self$coord, data, theme, self$facet_params)
  9: f(...)
  10: render_strips(col_vars, row_vars, params$labeller, theme)
  11: build_strip(x, labeller, theme, TRUE)
  12: ggstrip(grobs, theme, element, gp, horizontal, clip = "on")
  13: Summary.unit(structure(c(4.4, 4.4), unit = 8L, class = c("margin", "unit")), na.rm = FALSE)
  
  ── 5. Error: ggplot coordmap with various data types (@test-plot-coordmap.R#270)
  VECTOR_ELT() can only be applied to a 'list', not a 'double'
  1: getGgplotCoordmap(print(p), 500, 400, 72) at testthat/test-plot-coordmap.R:270
  2: print(p)
  3: print.ggplot(p)
  4: grid::grid.draw(gtable)
  5: grid.draw.gTree(gtable)
  6: recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
  7: drawGTree(x)
  8: preDraw(x)
  9: preDraw.gTree(x)
  10: pushvpgp(x)
  11: pushgrobvp(x$vp)
  12: pushgrobvp.viewport(x$vp)
  13: pushViewport(vp, recording = FALSE)
  14: lapply(vps, push.vp, recording)
  15: FUN(X[[i]], ...)
  16: push.vp.viewport(X[[i]], ...)
  17: grid.Call.graphics(C_setviewport, vp, TRUE)
  
  ── 6. Error: ggplot coordmap with various scales and coords (@test-plot-coordmap
  VECTOR_ELT() can only be applied to a 'list', not a 'double'
  1: getGgplotCoordmap(print(p), 500, 400, 72) at testthat/test-plot-coordmap.R:313
  2: print(p)
  3: print.ggplot(p)
  4: grid::grid.draw(gtable)
  5: grid.draw.gTree(gtable)
  6: recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
  7: drawGTree(x)
  8: preDraw(x)
  9: preDraw.gTree(x)
  10: pushvpgp(x)
  11: pushgrobvp(x$vp)
  12: pushgrobvp.viewport(x$vp)
  13: pushViewport(vp, recording = FALSE)
  14: lapply(vps, push.vp, recording)
  15: FUN(X[[i]], ...)
  16: push.vp.viewport(X[[i]], ...)
  17: grid.Call.graphics(C_setviewport, vp, TRUE)
  
    93: stop
    92: <reactive:r> [testthat/test-reactivity.r#969]
    90: .func
    87: contextFunc
    86: env$runWith
    79: ctx$run
    78: self$.updateValue
    76: r
    75: <observer> [testthat/test-reactivity.r#978]
    73: contextFunc
    72: env$runWith
    65: ctx$run
    64: run
    45: flushCallback
    44: FUN
    43: lapply
    42: ctx$executeFlushCallbacks
    41: .getReactiveEnvironment()$flush
    40: flushReact
    34: eval [testthat/test-reactivity.r#993]
    33: eval
    24: test_code
    23: test_that
    22: eval [testthat/test-reactivity.r#965]
    21: eval
    12: test_code
    11: source_file
     8: FUN
     7: lapply
     4: test_files
     3: test_dir
     2: test_package_dir
     1: test_check
    78: <Anonymous>
  Unknown testing environment for test-staticdocs.R.
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 641 SKIPPED: 1 FAILED: 6
  1. Error: ggplot coordmap (@test-plot-coordmap.R#24) 
  2. Error: ggplot coordmap with facet_wrap (@test-plot-coordmap.R#86) 
  3. Error: ggplot coordmap with facet_grid (@test-plot-coordmap.R#135) 
  4. Error: ggplot coordmap with 2D facet_grid (@test-plot-coordmap.R#220) 
  5. Error: ggplot coordmap with various data types (@test-plot-coordmap.R#270) 
  6. Error: ggplot coordmap with various scales and coords (@test-plot-coordmap.R#313) 
  
  Error: testthat unit tests failed
  Execution halted