-
Notifications
You must be signed in to change notification settings - Fork 7
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
Cannot install the package in R (version 4.0.5) #9
Comments
I had this same issue, I got the error that 1: packages ‘Matrix.utils’, ‘sparseMatrixStats’ are not available for this version of R |
Hi @KSimi7 , I got it loaded! If you can't install matrix.utils and sparse matrix stats from their command, then you can install them from GitHub (remotes::install_github("const-ae/sparseMatrixStats") and remotes::install_github("cvarrichio/Matrix.utils"). I also had to change my compiler for R via these instructions https://medium.com/biosyntax/following-up-library-dependency-when-compiling-r-packages-89f191b9f227. |
Thanks for @hopehealey's solution. In RISC v1.16, we do not use Matrix.utils anymore, because of the stability of the package. About "sparseMatrixStats" (from its GitHub https://github.com/const-ae/sparseMatrixStats), it can work in R v4.0.5 (see below), the problem might be caused by C++ version. Sorry to make you inconvenient. BiocManager::install("sparseMatrixStats") Please make sure to carefully read the full problem section. Operating system with exact version (e.g. ‘Linux Ubuntu 18.04’) |
Tried both install_github and installing from the tar.gz file installation of package had non-zero exit status in both cases.
The text was updated successfully, but these errors were encountered: