dariober / cnv_facets

Somatic copy variant caller (CNV) for next generation sequencing
Other
69 stars 16 forks source link

Failure running cnv_facets #64

Open gaitat opened 1 month ago

gaitat commented 1 month ago

When trying to run cnv_facets.R -h, I get the error:

Error: package or namespace load failed for ‘ggplot2’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
 namespace ‘lifecycle’ 1.0.0 is already loaded, but > 1.0.1 is required
Execution halted

When I run

(facets) 9979: mamba list --name facets | grep lifecycle
r-lifecycle               1.0.4             r43hc72bb7e_1    conda-forge
(facets) 9980: mamba list --name facets | grep ggplot2
r-ggplot2                 3.5.1             r43hc72bb7e_1    conda-forge
(facets) 9981: mamba list --name facets | grep r-facets
r-facets                  0.6.2             r43haf399aa_5    bioconda
(facets) 9982: mamba list --name facets | grep r-base
r-base                    4.3.3               h68df6d5_15    conda-forge

So it seems that package lifecycle has the correct version.

I tried the installation both with conda and with mamba and the result is the same. Can you provide some guidance?

dariober commented 1 month ago

Hi- Does this happen in a new mamba environment or you are installing in an existing env? Just in case... Have you actually activated the env?

In the relevant activated env, look at the output of .libPath() in R for any unexpected path. For me I get:

.libPaths()
[1] "/home/dario/miniforge3/envs/cnv_facets/lib/R/library"