cisTopic icon indicating copy to clipboard operation
cisTopic copied to clipboard

Installation error "Failed to install 'unknown package' from Github: ..."

Open simozhou opened this issue 2 years ago • 1 comments

I'm trying to install cisTopic in a conda environment launching R 4.2.0 and typing:

> devtools::install_github("aertslab/cisTopic")
Error: Failed to install 'unknown package' from GitHub:
  Line starting 'NeedsCo ...' is malformed!

But I keep getting this error. What could it be?

Attaching my SessionInfo() dump:

R version 4.2.0 (2022-04-22)
Platform: x86_64-conda-linux-gnu (64-bit)
Running under: Rocky Linux 8.5 (Green Obsidian)

Matrix products: default
BLAS/LAPACK: /path/to/env/lib/libopenblasp-r0.3.21.so

locale:
 [1] LC_CTYPE=C                 LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_4.2.0

simozhou avatar Oct 07 '22 14:10 simozhou

Hi simozhou,

You can also try to download the release version and have a local installation.

wget https://github.com/aertslab/cisTopic/archive/refs/tags/v2.1.0.tar.gz

and then

install.packages("/home/114/xz3123/v2.1.0.tar.gz", repos = NULL)

Xuan

I'm trying to install cisTopic in a conda environment launching R 4.2.0 and typing:

> devtools::install_github("aertslab/cisTopic")
Error: Failed to install 'unknown package' from GitHub:
  Line starting 'NeedsCo ...' is malformed!

But I keep getting this error. What could it be?

Attaching my SessionInfo() dump:

R version 4.2.0 (2022-04-22)
Platform: x86_64-conda-linux-gnu (64-bit)
Running under: Rocky Linux 8.5 (Green Obsidian)

Matrix products: default
BLAS/LAPACK: /path/to/env/lib/libopenblasp-r0.3.21.so

locale:
 [1] LC_CTYPE=C                 LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_4.2.0

XuanrZhang avatar Nov 03 '22 06:11 XuanrZhang