mojaveazure / seurat-disk

Interfaces for HDF5-based Single Cell File Formats
https://mojaveazure.github.io/seurat-disk
GNU General Public License v3.0
151 stars 48 forks source link

Error: class "Neighbor" is not exported by 'namespace:Seurat' #45

Open Nebelhom opened 3 years ago

Nebelhom commented 3 years ago

Hi,

I cannot be sure if this is a bug per se, but it has me stumped. I am trying to install Seurat-disk in RStudio with Seurat version 3.2.0 on Xubuntu 18.04.5 LTS using the suggested command, but I receive below error.

Do you have any suggestions on how to overcome this issue?

Thanks. Really appreciate your help :)

> if (!requireNamespace("remotes", quietly = TRUE)) {
+     install.packages("remotes")
+ }
> remotes::install_github("mojaveazure/seurat-disk")
Downloading GitHub repo mojaveazure/seurat-disk@master
Skipping 1 packages not available: Seurat
✓  checking for file ‘/tmp/RtmpsPTZ6o/remotesa57b199dad/mojaveazure-seurat-disk-003cdf0/DESCRIPTION’ ...
─  preparing ‘SeuratDisk’:
✓  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building ‘SeuratDisk_0.0.0.9018.tar.gz’

Installing package into ‘/home/username/R/x86_64-pc-linux-gnu-library/3.6’
(as ‘lib’ is unspecified)
* installing *source* package ‘SeuratDisk’ ...
** using staged installation
** R
** byte-compile and prepare package for lazy loading
Error: class "Neighbor" is not exported by 'namespace:Seurat'
Execution halted
ERROR: lazy loading failed for package ‘SeuratDisk’
* removing ‘/home/username/R/x86_64-pc-linux-gnu-library/3.6/SeuratDisk’
Error: Failed to install 'SeuratDisk' from GitHub:
  (converted from warning) installation of package ‘/tmp/RtmpsPTZ6o/filea5767560513/SeuratDisk_0.0.0.9018.tar.gz’ had non-zero exit status
d-walkama commented 3 years ago

You need to install versions 3.2.3 for seurat-disk to install correctly:

remotes::install_version("Seurat", version = "3.2.3")