Error loading dataset 'amazonFineFoods':
   Error in .requirePackage(package) : 
    unable to find required package 'Matrix'
  
  The dataset(s) may use package(s) not declared in Depends/Imports.
Error loading dataset 'amazonFineFoods':
   Error in .requirePackage(package) : 
    unable to find required package 'Matrix'
  
  The dataset(s) may use package(s) not declared in Depends/Imports.
Error loading dataset 'amazonFineFoods':
   Error in .requirePackage(package) : 
    unable to find required package 'Matrix'
  
  Note: found 66 marked UTF-8 strings
  The dataset(s) may use package(s) not declared in Depends/Imports.
Error loading dataset 'amazonFineFoods':
   Error in .requirePackage(package) : 
    unable to find required package 'Matrix'
  
  Note: found 66 marked UTF-8 strings
  The dataset(s) may use package(s) not declared in Depends/Imports.
Error loading dataset 'amazonFineFoods':
   Error in .requirePackage(package) : 
    unable to find required package 'Matrix'
  
  The dataset(s) may use package(s) not declared in Depends/Imports.
Error loading dataset 'amazonFineFoods':
   Error in .requirePackage(package) : 
    unable to find required package 'Matrix'
  
  The dataset(s) may use package(s) not declared in Depends/Imports.
Error loading dataset 'amazonFineFoods':
   Error in .requirePackage(package) : 
    unable to find required package 'Matrix'
  
  The dataset(s) may use package(s) not declared in Depends/Imports.
Error loading dataset 'amazonFineFoods':
   Error in .requirePackage(package) : 
    unable to find required package 'Matrix'
  
  The dataset(s) may use package(s) not declared in Depends/Imports.
Note: found 66 marked UTF-8 strings
Error loading dataset 'amazonFineFoods':
   Error in .requirePackage(package) : 
    unable to find required package 'Matrix'
  
  The dataset(s) may use package(s) not declared in Depends/Imports.

Running examples in ‘scAnnotate-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: scAnnotate
> ### Title: scAnnotate
> ### Aliases: scAnnotate
> 
> ### ** Examples
> 
> data(pbmc1)
> data(pbmc2)
> predict_label=scAnnotate(train=pbmc1,
+                          test=pbmc2[,-1],
+                          distribution="normal",
+                          correction ="harmony",
+                          screening ="wilcox",
+                          threshold=0,
+                          lognormalized=TRUE)
Warning: Data is of class matrix. Coercing to dgCMatrix.
Finding variable features for layer counts
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%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
Warning: No layers found matching search pattern provided
Error in `ScaleData()`:
! No layer matching pattern 'data' found. Please run NormalizeData and retry
Backtrace:
    ▆
 1. └─scAnnotate::scAnnotate(...)
 2.   └─scAnnotate:::br_harmony(...)
 3.     ├─Seurat::ScaleData(obj.pc)
 4.     └─Seurat:::ScaleData.Seurat(obj.pc)
 5.       ├─Seurat::ScaleData(...)
 6.       └─Seurat:::ScaleData.StdAssay(...)
 7.         └─rlang::abort(paste0("No layer matching pattern '", olayer, "' found. Please run NormalizeData and retry"))
Execution halted
Running examples in ‘scAnnotate-Ex.R’ failed
The error most likely occurred in:

> ### Name: scAnnotate
> ### Title: scAnnotate
> ### Aliases: scAnnotate
> 
> ### ** Examples
> 
> data(pbmc1)
> data(pbmc2)
> predict_label=scAnnotate(train=pbmc1,
+                          test=pbmc2[,-1],
+                          distribution="normal",
+                          correction ="harmony",
+                          screening ="wilcox",
+                          threshold=0,
+                          lognormalized=TRUE)
Warning: Data is of class matrix. Coercing to dgCMatrix.
Finding variable features for layer counts
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%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
Warning: No layers found matching search pattern provided
Error in `ScaleData()`:
! No layer matching pattern 'data' found. Please run NormalizeData and retry
Backtrace:
    ▆
 1. └─scAnnotate::scAnnotate(...)
 2.   └─scAnnotate:::br_harmony(...)
 3.     ├─Seurat::ScaleData(obj.pc)
 4.     └─Seurat:::ScaleData.Seurat(obj.pc)
 5.       ├─Seurat::ScaleData(...)
 6.       └─Seurat:::ScaleData.StdAssay(...)
 7.         └─rlang::abort(paste0("No layer matching pattern '", olayer, "' found. Please run NormalizeData and retry"))
Execution halted
Running examples in 'scAnnotate-Ex.R' failed
The error most likely occurred in:

> ### Name: scAnnotate
> ### Title: scAnnotate
> ### Aliases: scAnnotate
> 
> ### ** Examples
> 
> data(pbmc1)
> data(pbmc2)
> predict_label=scAnnotate(train=pbmc1,
+                          test=pbmc2[,-1],
+                          distribution="normal",
+                          correction ="harmony",
+                          screening ="wilcox",
+                          threshold=0,
+                          lognormalized=TRUE)
Warning: Data is of class matrix. Coercing to dgCMatrix.
Finding variable features for layer counts
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%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
Warning: No layers found matching search pattern provided
Error in `ScaleData()`:
! No layer matching pattern 'data' found. Please run NormalizeData and retry
Backtrace:
    ▆
 1. └─scAnnotate::scAnnotate(...)
 2.   └─scAnnotate:::br_harmony(...)
 3.     ├─Seurat::ScaleData(obj.pc)
 4.     └─Seurat:::ScaleData.Seurat(obj.pc)
 5.       ├─Seurat::ScaleData(...)
 6.       └─Seurat:::ScaleData.StdAssay(...)
 7.         └─rlang::abort(paste0("No layer matching pattern '", olayer, "' found. Please run NormalizeData and retry"))
Execution halted