[bug] Issue with report generation from vignette
vd4mmind opened this issue · 1 comments
vd4mmind commented
Describe the bug
Below you can find the error I am facing while running the QC report file generation for a single sample.
To Reproduce
Steps to reproduce the behavior:
- In R:
report_qc_sce(sce, report_file = "qc_report_scflow_individual_1",
report_folder_path = file.path(outputDir,"/tmp_Zeisel2015_scflow/"))
- See error:
══ Generating QC report for SingleCellExperiment ══════════════════════════════════════════════════════════════════════════════
Writing temp files for QC report...
Generating QC report...
Quitting from lines 19-33 [setup] (skeleton.Rmd)
Error in `value[[3L]]()`:
! Package 'plotly' version 4.10.4 cannot be unloaded:
Error in unloadNamespace(package) : namespace 'plotly' is imported by 'gprofiler2', 'Seurat', 'scFlow' so cannot be unloaded
Backtrace:
1. base::library(plotly)
2. base::tryCatch(...)
3. base (local) tryCatchList(expr, classes, parentenv, handlers)
4. base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
5. value[[3L]](cond)
Expected behavior
I was not expecting this to happen given all the installations were done accordinng to the vignettes. and libraries were loaded accordingly to take care of conflicts. How to resolve this now?
System
R version 4.2.3 (2023-03-15)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.6 LTS
vd4mmind commented
This is resolved.