Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
simozhou opened this issue Oct 7, 2022 · 1 comment

Comments

@simozhou
Copy link

simozhou commented Oct 7, 2022

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants