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

Problem installing nichenetr #45

Closed
Battamama opened this issue Aug 4, 2020 · 18 comments
Closed

Problem installing nichenetr #45

Battamama opened this issue Aug 4, 2020 · 18 comments

Comments

@Battamama
Copy link

Hello,
I've tried to install nichenetr on r version 4.0.2, but it's not available on this version.
Is there an older version to download and install on r version 4.0.2?

@browaeysrobin
Copy link
Member

Hi @Dahlia90

Are you sure you ran this command to install nichenetr?
devtools::install_github("saeyslab/nichenetr")

This should work for R 4.0.2 (I tested it on Windows 10 and Ubuntu 20.04). If not, please give your R ``sessionInfo()` details.

@Battamama
Copy link
Author

Battamama commented Aug 4, 2020 via email

@browaeysrobin
Copy link
Member

Hi @Dahlia90

Can you tell me whether you are able to install other packages from github via devtools::install_github to check whether it is a devtools/github or nichenetr problem?

Recently, another Mac user had problems installing nichenetr as well (#42)

@Battamama
Copy link
Author

Battamama commented Aug 4, 2020 via email

@browaeysrobin
Copy link
Member

Hi @Dahlia90

Could you maybe try to install nichenetr from an older R version (3.6.X or 4.0.0? - I know from a colleague that it gets installed when having R 4.0.0) to check whether this is an R version problem?

@Battamama
Copy link
Author

Battamama commented Aug 5, 2020 via email

@browaeysrobin
Copy link
Member

OK, then it seems it has more likely something to do with your pc settings. I would suggest comparing them to your colleague's and trying to find the issue by doing that. I am sorry that I cannot give any further recommendations to try out to. If you would be able to solve the issue, it would be nice that you let us know here how you did it, because probably some other people might get stuck with the same problem.

@Battamama
Copy link
Author

Battamama commented Aug 5, 2020 via email

@browaeysrobin
Copy link
Member

And can you give the exact error message?

@Battamama
Copy link
Author

Battamama commented Aug 5, 2020 via email

@browaeysrobin
Copy link
Member

Hi @Dahlia90

(1): nichenetr is not on CRAN, so this will never work
(2): did you install limma via BiocManager::install("limma")? and can you afterwords load the package library(limma)? If both answers are yes, maybe it could be useful to check out this issue hunzikp/velox#30. If those tips would still not work, you could clone the nichenetr directory so you get the repo locally and then install it locally from within R studio.
(3): running a devtools command in bash will not work, so you would need to run R first, and then fix the typos in “sayeyslab/nitchnetr” to "saeyslab/nichenetr”

@Battamama
Copy link
Author

Battamama commented Aug 5, 2020 via email

@Battamama
Copy link
Author

Battamama commented Aug 6, 2020 via email

@browaeysrobin
Copy link
Member

Hi @Dahlia90
Thank you for pointing this out, but this is just a warning and not an error, and not a reason why this failed.
But here you again installed from github. I would try to install it locally as follows: clone the directory from github --> go to the nichenetr directory --> open the nichenetr R project in Rstudio --> go to 'Build' in Rstudio --> 'Install'
and see whether this gives the same error message.

@Battamama
Copy link
Author

Battamama commented Aug 6, 2020 via email

@browaeysrobin
Copy link
Member

Hi @Dahlia90

Sorry it did not work. Unfortunately for you and me, this error message is not really helpful. I have no idea what is going on. By looking around the web for possible solutions, I did not come across any directly but I can give some suggestions to try out:

*The error 1900 Killed: 9 points to a non-nichenetr problem, but probably to an error in the combination Mac-Rstudio-nichenetr (it seems that issues with Rstudio, Rstudio Cloud/Server, Docker, Conda, ... could be occuring).
If you were installing nichenetr from RStudio, I would

  1. first try to install nichenetr from a clean R session on the command line (so: open terminal --> launch R 4.0.2 --> devtools::install_github("saeyslab/nichenetr").
  2. If that fails, and you have a form of Conda (e.g. Miniconda) installed on your computer, maybe remove it and then try to install nichenetr again
  3. if that still fails: try reinstalling R and RStudio (downloading R from CRAN, and RStudio from rstudio.com), then install nichenetr (try Rstudio and R via terminal).
  4. if that still fails: check the DESCRIPTION page of nichenetr and install each of the dependencies separately and then try to install nichenetr again.

If all these steps still failed:
you can check following sites for more information and see whether they might be useful for you:

@Battamama
Copy link
Author

Battamama commented Aug 6, 2020 via email

@Battamama
Copy link
Author

Battamama commented Aug 7, 2020 via email

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