Running ‘testthat.R’ [34s/39s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(tidyseurat)
  Loading required package: ttservice
  Loading required package: SeuratObject
  Loading required package: sp
  
  Attaching package: 'SeuratObject'
  
  The following objects are masked from 'package:base':
  
      %||%, intersect
  
  ========================================
  tidyseurat version 0.7.4
  If you use TIDYSEURAT in published research, please cite:
  
  Mangiola et al. Interfacing Seurat with the R tidy universe. Bioinformatics 2021.
  
  This message can be suppressed by:
    suppressPackageStartupMessages(library(tidyseurat))
    
  To restore the Seurat default display use options("restore_Seurat_show" = TRUE) 
  ========================================
  
  > 
  > test_check("tidyseurat")
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |======================================================================| 100%
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |======================================================================| 100%
  Calculating gene variances
  0%   10   20   30   40   50   60   70   80   90   100%
  [----|----|----|----|----|----|----|----|----|----|
  **************************************************|
  Calculating feature variances of standardized and clipped values
  0%   10   20   30   40   50   60   70   80   90   100%
  [----|----|----|----|----|----|----|----|----|----|
  **************************************************|
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |======================================================================| 100%
  Calculating gene variances
  0%   10   20   30   40   50   60   70   80   90   100%
  [----|----|----|----|----|----|----|----|----|----|
  **************************************************|
  Calculating feature variances of standardized and clipped values
  0%   10   20   30   40   50   60   70   80   90   100%
  [----|----|----|----|----|----|----|----|----|----|
  **************************************************|
  [ FAIL 3 | WARN 13 | SKIP 0 | PASS 71 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-dplyr.R:8:3'): arrange ─────────────────────────────────────────
  Error: All cells in the object being added must match the cells in this object
  Backtrace:
       ▆
    1. ├─Seurat::RunPCA(...) at test-dplyr.R:8:2
    2. ├─Seurat::FindVariableFeatures(...)
    3. ├─Seurat::ScaleData(arrange(pbmc_small, nFeature_RNA))
    4. └─Seurat:::ScaleData.Seurat(arrange(pbmc_small, nFeature_RNA))
    5.   ├─methods (local) `[[<-`(`*tmp*`, assay, value = `<Assay[,80]>`)
    6.   └─SeuratObject (local) `[[<-`(`*tmp*`, assay, value = `<Assay[,80]>`)
    7.     ├─methods::callNextMethod(x = x, i = i, value = value)
    8.     │ └─base::eval(call, callEnv)
    9.     │   └─base::eval(call, callEnv)
   10.     └─SeuratObject (local) .nextMethod(x = x, i = i, value = value)
  ── Failure ('test-dplyr.R:147:3'): slice_min ───────────────────────────────────
  ... %>% pull(.cell) not equal to colnames(slice_min(pbmc_small, nFeature_RNA, n = 5)).
  2/5 mismatches
  x[3]: "AGTCTTACTTCGGA"
  y[3]: "GACGCTCTCTCTCG"
  
  x[4]: "GACGCTCTCTCTCG"
  y[4]: "AGTCTTACTTCGGA"
  ── Failure ('test-dplyr.R:158:3'): slice_max ───────────────────────────────────
  ... %>% pull(.cell) not equal to colnames(slice_max(pbmc_small, nFeature_RNA, n = 5)).
  4/5 mismatches
  x[1]: "GACATTCTCCACCT"
  y[1]: "TTGAGGACTACGCA"
  
  x[2]: "ACGTGATGCCATGA"
  y[2]: "TTTAGCTGTACTCT"
  
  x[3]: "TTGAGGACTACGCA"
  y[3]: "GACATTCTCCACCT"
  
  x[4]: "TTTAGCTGTACTCT"
  y[4]: "ACGTGATGCCATGA"
  
  [ FAIL 3 | WARN 13 | SKIP 0 | PASS 71 ]
  Error: Test failures
  Execution halted