carmonalab / GeneNMF

Methods to discover gene programs on single-cell data
47 stars 1 forks source link

GeneNMF requires R 4.3 or higher #3

Closed metaspine closed 3 weeks ago

metaspine commented 1 month ago

Dear author This is a great toolkit! However, when I library it in R, error occur. The code is [ library(GeneNMF,lib.loc = "/share/home/User/miniconda3/envs/R4.3/lib/R/library") Error: This is R 4.2.2, package ‘GeneNMF’ needs >= 4.3.0] Is there a test of R version in your package (i gusses?), which make me can not library it

mass-a commented 1 month ago

Hello, yes the package requires R 4.3 or higher. Do you have a way of updating your R version? Note that you can also have multiple R versions installed at the same time (e.g. on Linux or Mac).

metaspine commented 1 month ago

Sorry, i tried it before. But i do not have enough access to update R. I have to use conda environment and library GeneNMF by command line, which is not convenient...

metaspine commented 1 month ago

The difficulty I encountered was that even though I used lib.loc (R4.3) when libraring, I couldn't use GeneNMF.