Running ‘testthat.R’ [19s/32s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(heatmaply)
  Loading required package: plotly
  Loading required package: ggplot2
  
  Attaching package: 'plotly'
  
  The following object is masked from 'package:ggplot2':
  
      last_plot
  
  The following object is masked from 'package:stats':
  
      filter
  
  The following object is masked from 'package:graphics':
  
      layout
  
  Loading required package: viridis
  Loading required package: viridisLite
  
  ======================
  Welcome to heatmaply version 1.3.0
  
  Type citation('heatmaply') for how to cite the package.
  Type ?heatmaply for the main documentation.
  
  The github page is: https://github.com/talgalili/heatmaply/
  Please submit your suggestions and bug-reports at: https://github.com/talgalili/heatmaply/issues
  You may ask questions at stackoverflow, use the r and heatmaply tags: 
  	 https://stackoverflow.com/questions/tagged/heatmaply
  ======================
  
  > 
  > test_check("heatmaply")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_ggheatmap.R:6:3): ggheatmap works ───────────────────────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
       █
    1. └─heatmaply::ggheatmap(mtcars, dendrogram = "row") test_ggheatmap.R:6:2
    2.   ├─heatmaply::heatmaply(...)
    3.   └─heatmaply:::heatmaply.default(...)
    4.     └─heatmaply::heatmapr(...)
    5.       └─heatmaply:::create_dend(...)
    6.         └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
    7.           ├─seriation::seriate(...)
    8.           └─seriation:::seriate.dist(...)
    9.             ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   10.             └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:6:7): heatmaply mtcars (both dend) ──────────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(mtcars, row_dend_left = bool, plot_method = plot_method) test_heatmaply.R:6:6
   2. └─heatmaply:::heatmaply.default(mtcars, row_dend_left = bool, plot_method = plot_method)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:22:7): heatmaply mtcars (coldend only) ──────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:22:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:30:7): heatmaply mtcars (rowdend only) ──────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:30:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:39:7): heatmaply mtcars (rscols, both dend) ─────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:39:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:59:7): heatmaply mtcars (rscols, row dend) ──────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:59:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:78:7): heatmaply mtcars (cscols, both dend) ─────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:78:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:88:7): heatmaply mtcars (cscols, col dend) ──────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:88:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:99:7): heatmaply mtcars (cscols, row dend) ──────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:99:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:119:7): heatmaply mtcars (rcscols, both dend) ───────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:119:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:130:7): heatmaply mtcars (rcscols, col dend) ────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:130:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:141:7): heatmaply mtcars (rcscols, row dend) ────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:141:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:6:7): heatmaply mtcars (both dend) ──────────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(mtcars, row_dend_left = bool, plot_method = plot_method) test_heatmaply.R:6:6
   2. └─heatmaply:::heatmaply.default(mtcars, row_dend_left = bool, plot_method = plot_method)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:22:7): heatmaply mtcars (coldend only) ──────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:22:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:30:7): heatmaply mtcars (rowdend only) ──────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:30:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:39:7): heatmaply mtcars (rscols, both dend) ─────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:39:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:59:7): heatmaply mtcars (rscols, row dend) ──────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:59:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:78:7): heatmaply mtcars (cscols, both dend) ─────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:78:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:88:7): heatmaply mtcars (cscols, col dend) ──────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:88:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:99:7): heatmaply mtcars (cscols, row dend) ──────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:99:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:119:7): heatmaply mtcars (rcscols, both dend) ───────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:119:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:130:7): heatmaply mtcars (rcscols, col dend) ────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:130:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:141:7): heatmaply mtcars (rcscols, row dend) ────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:141:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:6:7): heatmaply mtcars (both dend) ──────────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(mtcars, row_dend_left = bool, plot_method = plot_method) test_heatmaply.R:6:6
   2. └─heatmaply:::heatmaply.default(mtcars, row_dend_left = bool, plot_method = plot_method)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:22:7): heatmaply mtcars (coldend only) ──────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:22:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:30:7): heatmaply mtcars (rowdend only) ──────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:30:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:39:7): heatmaply mtcars (rscols, both dend) ─────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:39:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:59:7): heatmaply mtcars (rscols, row dend) ──────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:59:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:78:7): heatmaply mtcars (cscols, both dend) ─────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:78:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:88:7): heatmaply mtcars (cscols, col dend) ──────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:88:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:99:7): heatmaply mtcars (cscols, row dend) ──────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:99:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:119:7): heatmaply mtcars (rcscols, both dend) ───────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:119:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:130:7): heatmaply mtcars (rcscols, col dend) ────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:130:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:141:7): heatmaply mtcars (rcscols, row dend) ────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:141:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:6:7): heatmaply mtcars (both dend) ──────────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(mtcars, row_dend_left = bool, plot_method = plot_method) test_heatmaply.R:6:6
   2. └─heatmaply:::heatmaply.default(mtcars, row_dend_left = bool, plot_method = plot_method)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:22:7): heatmaply mtcars (coldend only) ──────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:22:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:30:7): heatmaply mtcars (rowdend only) ──────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:30:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:39:7): heatmaply mtcars (rscols, both dend) ─────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:39:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:59:7): heatmaply mtcars (rscols, row dend) ──────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:59:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:78:7): heatmaply mtcars (cscols, both dend) ─────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:78:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:88:7): heatmaply mtcars (cscols, col dend) ──────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:88:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:99:7): heatmaply mtcars (cscols, row dend) ──────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:99:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:119:7): heatmaply mtcars (rcscols, both dend) ───────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:119:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:130:7): heatmaply mtcars (rcscols, col dend) ────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:130:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply.R:141:7): heatmaply mtcars (rcscols, row dend) ────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply.R:141:6
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply_misc.R:11:3): node argument works ─────────────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply_misc.R:11:2
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply_misc.R:21:3): non-numerics moved to row_side_colors ───
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(mtcars, row_side_colors = mtcars[, 1:2]) test_heatmaply_misc.R:21:2
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply_misc.R:31:3): heatmaply on matrix, and cexRow/Col ─────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(mtcars, cexRow = 5, cexCol = 5) test_heatmaply_misc.R:31:2
   2. └─heatmaply:::heatmaply.default(mtcars, cexRow = 5, cexCol = 5)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply_misc.R:39:3): grid_color and hide_colorbar ────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(...) test_heatmaply_misc.R:39:2
   2. └─heatmaply:::heatmaply.default(...)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply_misc.R:44:3): return plots ────────────────────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(mtcars, return_ppxpy = TRUE) test_heatmaply_misc.R:44:2
   2. └─heatmaply:::heatmaply.default(mtcars, return_ppxpy = TRUE)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply_misc.R:52:3): SideColors ──────────────────────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(mtcars, RowSideColors = rs) test_heatmaply_misc.R:52:2
   2. └─heatmaply:::heatmaply.default(mtcars, RowSideColors = rs)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply_misc.R:59:3): limits ──────────────────────────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(t(mtcars), limits = range(as.matrix(mtcars))) test_heatmaply_misc.R:59:2
   2. └─heatmaply:::heatmaply.default(t(mtcars), limits = range(as.matrix(mtcars)))
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply_misc.R:68:3): cellnote ────────────────────────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(mtcars, draw_cellnote = TRUE) test_heatmaply_misc.R:68:2
   2. └─heatmaply:::heatmaply.default(mtcars, draw_cellnote = TRUE)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply_misc.R:73:3): showticklabels ──────────────────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
      █
   1. ├─heatmaply::heatmaply(mtcars, showticklabels = TRUE) test_heatmaply_misc.R:73:2
   2. └─heatmaply:::heatmaply.default(mtcars, showticklabels = TRUE)
   3.   └─heatmaply::heatmapr(...)
   4.     └─heatmaply:::create_dend(...)
   5.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   6.         ├─seriation::seriate(...)
   7.         └─seriation:::seriate.dist(...)
   8.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   9.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply_misc.R:97:3): correlation arguments work ──────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
       █
    1. └─base::lapply(...) test_heatmaply_misc.R:97:2
    2.   └─heatmaply:::FUN(X[[i]], ...)
    3.     ├─testthat::expect_is(heatmaply(mtcars, distfun = method), "plotly") test_heatmaply_misc.R:98:4
    4.     │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    5.     │   └─rlang::eval_bare(expr, quo_get_env(quo))
    6.     ├─heatmaply::heatmaply(mtcars, distfun = method)
    7.     └─heatmaply:::heatmaply.default(mtcars, distfun = method)
    8.       └─heatmaply::heatmapr(...)
    9.         └─heatmaply:::create_dend(...)
   10.           └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   11.             ├─seriation::seriate(...)
   12.             └─seriation:::seriate.dist(...)
   13.               ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   14.               └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply_misc.R:105:3): long_data works ────────────────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
       █
    1. ├─testthat::expect_is(heatmaply(long_data = mdf), "plotly") test_heatmaply_misc.R:105:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─heatmaply::heatmaply(long_data = mdf)
    5. └─heatmaply:::heatmaply.default(long_data = mdf)
    6.   └─heatmaply::heatmapr(...)
    7.     └─heatmaply:::create_dend(...)
    8.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
    9.         ├─seriation::seriate(...)
   10.         └─seriation:::seriate.dist(...)
   11.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   12.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply_misc.R:113:3): heatmaply_na works ─────────────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
       █
    1. ├─testthat::expect_is(heatmaply_na(m), "plotly") test_heatmaply_misc.R:113:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─heatmaply::heatmaply_na(m)
    5.   ├─heatmaply::heatmaply(...)
    6.   └─heatmaply:::heatmaply.default(...)
    7.     └─heatmaply::heatmapr(...)
    8.       └─heatmaply:::create_dend(...)
    9.         └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   10.           ├─seriation::seriate(...)
   11.           └─seriation:::seriate.dist(...)
   12.             ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   13.             └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply_misc.R:118:3): heatmaply_cor works ────────────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
       █
    1. ├─testthat::expect_is(heatmaply_cor(m), "plotly") test_heatmaply_misc.R:118:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─heatmaply::heatmaply_cor(m)
    5.   ├─heatmaply::heatmaply(x, limits = limits, colors = colors, ...)
    6.   └─heatmaply:::heatmaply.default(...)
    7.     └─heatmaply::heatmapr(...)
    8.       └─heatmaply:::create_dend(...)
    9.         └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   10.           ├─seriation::seriate(...)
   11.           └─seriation:::seriate.dist(...)
   12.             ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   13.             └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply_misc.R:123:3): dengrogram=TRUE works ──────────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
       █
    1. ├─testthat::expect_is(heatmaply(mtcars, dendrogram = TRUE), "plotly") test_heatmaply_misc.R:123:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─heatmaply::heatmaply(mtcars, dendrogram = TRUE)
    5. └─heatmaply:::heatmaply.default(mtcars, dendrogram = TRUE)
    6.   └─heatmaply::heatmapr(...)
    7.     └─heatmaply:::create_dend(...)
    8.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
    9.         ├─seriation::seriate(...)
   10.         └─seriation:::seriate.dist(...)
   11.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   12.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply_misc.R:127:3): limits warning ─────────────────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
       █
    1. ├─testthat::expect_warning(...) test_heatmaply_misc.R:127:2
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_warnings)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─heatmaply::heatmaply(mtcars, limits = c(4, 5))
    7. └─heatmaply:::heatmaply.default(mtcars, limits = c(4, 5))
    8.   └─heatmaply::heatmapr(...)
    9.     └─heatmaply:::create_dend(...)
   10.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   11.         ├─seriation::seriate(...)
   12.         └─seriation:::seriate.dist(...)
   13.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   14.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmaply_misc.R:134:3): grid_gap works ─────────────────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
       █
    1. ├─testthat::expect_is(heatmaply(mtcars, grid_gap = 1), "plotly") test_heatmaply_misc.R:134:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─heatmaply::heatmaply(mtcars, grid_gap = 1)
    5. └─heatmaply:::heatmaply.default(mtcars, grid_gap = 1)
    6.   └─heatmaply::heatmapr(...)
    7.     └─heatmaply:::create_dend(...)
    8.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
    9.         ├─seriation::seriate(...)
   10.         └─seriation:::seriate.dist(...)
   11.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   12.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Failure (test_heatmaply_misc.R:147:5): custom_hovertext works ───────────────
  `heatmaply(mtcars, plot_method = plot_method, custom_hovertext = mat)` threw an error.
  Message: 'list' object cannot be coerced to type 'integer'
  Class:   simpleError/error/condition
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test_heatmaply_misc.R:147:4
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─heatmaply::heatmaply(mtcars, plot_method = plot_method, custom_hovertext = mat)
    7. └─heatmaply:::heatmaply.default(...)
    8.   └─heatmaply::heatmapr(...)
    9.     └─heatmaply:::create_dend(...)
   10.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   11.         ├─seriation::seriate(...)
   12.         └─seriation:::seriate.dist(...)
   13.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   14.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Failure (test_heatmaply_misc.R:147:5): custom_hovertext works ───────────────
  `heatmaply(mtcars, plot_method = plot_method, custom_hovertext = mat)` threw an error.
  Message: 'list' object cannot be coerced to type 'integer'
  Class:   simpleError/error/condition
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test_heatmaply_misc.R:147:4
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─heatmaply::heatmaply(mtcars, plot_method = plot_method, custom_hovertext = mat)
    7. └─heatmaply:::heatmaply.default(...)
    8.   └─heatmaply::heatmapr(...)
    9.     └─heatmaply:::create_dend(...)
   10.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   11.         ├─seriation::seriate(...)
   12.         └─seriation:::seriate.dist(...)
   13.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   14.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Failure (test_heatmaply_misc.R:152:3): hclust_method=NA works ───────────────
  `heatmaply(mtcars, hclust_method = NA)` threw an error.
  Message: 'list' object cannot be coerced to type 'integer'
  Class:   simpleError/error/condition
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test_heatmaply_misc.R:152:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─heatmaply::heatmaply(mtcars, hclust_method = NA)
    7. └─heatmaply:::heatmaply.default(mtcars, hclust_method = NA)
    8.   └─heatmaply::heatmapr(...)
    9.     └─heatmaply:::create_dend(...)
   10.       └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
   11.         ├─seriation::seriate(...)
   12.         └─seriation:::seriate.dist(...)
   13.           ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   14.           └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmapr.R:4:3): seriate ────────────────────────────────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
       █
    1. ├─testthat::expect_is(heatmapr(mtcars, seriate = "GW"), "heatmapr") test_heatmapr.R:4:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─heatmaply::heatmapr(mtcars, seriate = "GW")
    5.   └─heatmaply:::create_dend(...)
    6.     └─dendextend::seriate_dendrogram(dend, dist, method = "GW")
    7.       ├─seriation::seriate(...)
    8.       └─seriation:::seriate.dist(...)
    9.         ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   10.         └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmapr.R:8:3): cellnote ───────────────────────────────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
       █
    1. ├─testthat::expect_is(...) test_heatmapr.R:8:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─heatmaply::heatmapr(mtcars, seriate = "GW", cellnote = mtcars)
    5.   └─heatmaply:::create_dend(...)
    6.     └─dendextend::seriate_dendrogram(dend, dist, method = "GW")
    7.       ├─seriation::seriate(...)
    8.       └─seriation:::seriate.dist(...)
    9.         ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   10.         └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmapr.R:18:3): symm, revc ────────────────────────────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
       █
    1. ├─testthat::expect_is(heatmapr(cor(mtcars), revC = TRUE), "heatmapr") test_heatmapr.R:18:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─heatmaply::heatmapr(cor(mtcars), revC = TRUE)
    5.   └─heatmaply:::create_dend(...)
    6.     └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
    7.       ├─seriation::seriate(...)
    8.       └─seriation:::seriate.dist(...)
    9.         ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   10.         └─seriation::ser_permutation_vector(order, method = method$name)
  ── Error (test_heatmapr.R:22:3): scale ─────────────────────────────────────────
  Error in `ser_permutation_vector(order, method = method$name)`: 'list' object cannot be coerced to type 'integer'
  Backtrace:
       █
    1. ├─testthat::expect_is(...) test_heatmapr.R:22:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─heatmaply::heatmapr(cor(mtcars), scale = "row", symm = TRUE)
    5.   └─heatmaply:::create_dend(...)
    6.     └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
    7.       ├─seriation::seriate(...)
    8.       └─seriation:::seriate.dist(...)
    9.         ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   10.         └─seriation::ser_permutation_vector(order, method = method$name)
  ── Failure (test_heatmapr.R:30:3): show_dendrogram error conditions ────────────
  `heatmapr(mtcars, show_dendrogram = TRUE)` threw an error.
  Message: 'list' object cannot be coerced to type 'integer'
  Class:   simpleError/error/condition
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test_heatmapr.R:30:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─heatmaply::heatmapr(mtcars, show_dendrogram = TRUE)
    7.   └─heatmaply:::create_dend(...)
    8.     └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
    9.       ├─seriation::seriate(...)
   10.       └─seriation:::seriate.dist(...)
   11.         ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   12.         └─seriation::ser_permutation_vector(order, method = method$name)
  ── Failure (test_heatmapr.R:31:3): show_dendrogram error conditions ────────────
  `heatmapr(mtcars, show_dendrogram = c(TRUE, FALSE))` threw an error.
  Message: 'list' object cannot be coerced to type 'integer'
  Class:   simpleError/error/condition
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test_heatmapr.R:31:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─heatmaply::heatmapr(mtcars, show_dendrogram = c(TRUE, FALSE))
    7.   └─heatmaply:::create_dend(...)
    8.     └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
    9.       ├─seriation::seriate(...)
   10.       └─seriation:::seriate.dist(...)
   11.         ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   12.         └─seriation::ser_permutation_vector(order, method = method$name)
  ── Failure (test_heatmapr.R:38:5): create_dend works ───────────────────────────
  `create_dend(as.matrix(mtcars), ser, dist, hclust, TRUE)` threw an error.
  Message: 'list' object cannot be coerced to type 'integer'
  Class:   simpleError/error/condition
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test_heatmapr.R:38:4
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─heatmaply:::create_dend(...)
    7.   └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
    8.     ├─seriation::seriate(...)
    9.     └─seriation:::seriate.dist(...)
   10.       ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   11.       └─seriation::ser_permutation_vector(order, method = method$name)
  ── Failure (test_heatmapr.R:39:5): create_dend works ───────────────────────────
  `create_dend(as.matrix(mtcars), ser, dist, hclust, FALSE)` threw an error.
  Message: 'list' object cannot be coerced to type 'integer'
  Class:   simpleError/error/condition
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test_heatmapr.R:39:4
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─heatmaply:::create_dend(...)
    7.   └─dendextend::seriate_dendrogram(dend, dist, method = "OLO")
    8.     ├─seriation::seriate(...)
    9.     └─seriation:::seriate.dist(...)
   10.       ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   11.       └─seriation::ser_permutation_vector(order, method = method$name)
  ── Failure (test_heatmapr.R:38:5): create_dend works ───────────────────────────
  `create_dend(as.matrix(mtcars), ser, dist, hclust, TRUE)` threw an error.
  Message: 'list' object cannot be coerced to type 'integer'
  Class:   simpleError/error/condition
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test_heatmapr.R:38:4
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─heatmaply:::create_dend(...)
    7.   └─dendextend::seriate_dendrogram(dend, dist, method = "GW")
    8.     ├─seriation::seriate(...)
    9.     └─seriation:::seriate.dist(...)
   10.       ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   11.       └─seriation::ser_permutation_vector(order, method = method$name)
  ── Failure (test_heatmapr.R:39:5): create_dend works ───────────────────────────
  `create_dend(as.matrix(mtcars), ser, dist, hclust, FALSE)` threw an error.
  Message: 'list' object cannot be coerced to type 'integer'
  Class:   simpleError/error/condition
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test_heatmapr.R:39:4
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─heatmaply:::create_dend(...)
    7.   └─dendextend::seriate_dendrogram(dend, dist, method = "GW")
    8.     ├─seriation::seriate(...)
    9.     └─seriation:::seriate.dist(...)
   10.       ├─seriation::ser_permutation(ser_permutation_vector(order, method = method$name))
   11.       └─seriation::ser_permutation_vector(order, method = method$name)
  
  [ FAIL 74 | WARN 0 | SKIP 0 | PASS 160 ]
  Error: Test failures
  Execution halted