Running ‘testthat.R’ [15s/24s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(AnanseSeurat)
  > 
  > test_check("AnanseSeurat")
  loading maelstrom values from maelstrom assay using the cluster identifier seurat_clusters
  non-expressed genes are removed
  Your data slot was not yet normalized.
  Seurat NormalizeData with default settings will be run on all the genes in the RNA assay.
  Performing log-normalization
  0%   10   20   30   40   50   60   70   80   90   100%
  [----|----|----|----|----|----|----|----|----|----|
  **************************************************|
  As of Seurat v5, we recommend using AggregateExpression to perform pseudo-bulk analysis.
  This message is displayed once per session.
  Only keep motif-TF combinations with an R > 0.01
  Selecting correlating TFs
  Motif best (absolute) correlated to expression is selected per TF
  Scale for colour is already present.
  Adding another scale for colour, which will replace the existing scale.
  Scale for colour is already present.
  Adding another scale for colour, which will replace the existing scale.
  adding additional contrasts
  calculating DEGS for contrast anansesnake_cluster1_average
  For a (much!) faster implementation of the Wilcoxon Rank Sum Test,
  (default method for FindMarkers) please install the presto package
  --------------------------------------------
  install.packages('devtools')
  devtools::install_github('immunogenomics/presto')
  --------------------------------------------
  After installation of presto, Seurat will automatically use the more 
  efficient implementation (no further action necessary).
  This message will be shown once per session
  calculating DEGS for contrast anansesnake_cluster2_average
  calculating DEGS for contrast anansesnake_cluster3_average
  calculating DEGS for contrast anansesnake_cluster1_cluster2
  calculating CPM
  Performing relative-counts-normalization
  gather data from cluster1 with 5 cells
  gather data from cluster2 with 5 cells
  gather data from cluster3 with 5 cells
  gather data from cluster1 with 5 cells
  gather data from cluster2 with 5 cells
  gather data from cluster3 with 5 cells
  adding additional contrasts
  gather data from cluster1 with 5 cells
  gather data from cluster2 with 5 cells
  gather data from cluster3 with 5 cells
  [ FAIL 1 | WARN 19 | SKIP 0 | PASS 30 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-Motif2TF_functions.R:6:5'): Maelstrom_Motif2TF works ───────────
  Error in `t.default(exp_plot)`: argument is not a matrix
  Backtrace:
      ▆
   1. └─AnanseSeurat::Maelstrom_Motif2TF(...) at test-Motif2TF_functions.R:6:5
   2.   ├─base::t(scale(t(exp_plot)))
   3.   ├─base::scale(t(exp_plot))
   4.   ├─base::t(exp_plot)
   5.   └─base::t.default(exp_plot)
  
  [ FAIL 1 | WARN 19 | SKIP 0 | PASS 30 ]
  Error: Test failures
  Execution halted