SofieVG / FlowSOM

Using self-organizing maps for visualization and interpretation of cytometry data
61 stars 26 forks source link

Loading FlowSOM package fails #37

Closed JPGranizo closed 3 years ago

JPGranizo commented 3 years ago

Hi,

when I try to load the FlowSOM package, then I receive an error message:

> library(FlowSOM) Error: package or namespace load failed for ‘FlowSOM’: object ‘compute_timestep’ is not exported by 'namespace:flowWorkspace'

I am running macOS Catalina 10.15.7 and R version 4.0.3. FlowSOM was installed via "BiocManager::install("FlowSOM")" and the installed FlowSOM version is 1.20.0 I tried to install FlowSOM via devtools::install_github("SofieVG/FlowSOM") or devtools::install_github("SofieVG/FlowSOM", ref = "devel") in case there is a more recent version. But the FlowSOM installation from github fails in both cases (see the error messages copied below).

I tried to load FlowSOM in combination with two different flowWorkspace versions: Version 4.0.6 installed via BiocManager and Version 4.1.12 installed from github. The flowWorkspace version does not have an effect on the error while loading FlowSOM.

Can you please advice how to fix loading FlowSOM? Thank you very much in advance!

Error messages during the installation of FlowSOM from github:

devtools::install_github("SofieVG/FlowSOM") Downloading GitHub repo SofieVG/FlowSOM@HEAD ✓ checking for file ‘/private/var/folders/sl/6h6dh39d2p3617w8h3sf2bsm0000gn/T/RtmpR2sVJa/remotes10cf62afa7f5e/SofieVG-FlowSOM-6f79b8b/DESCRIPTION’ ... ─ preparing ‘FlowSOM’: ✓ checking DESCRIPTION meta-information ... ─ cleaning src ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories ─ building ‘FlowSOM_1.19.4.tar.gz’

yuhuisunnyluo commented 3 years ago

Hi, I use flowSOM via Rstudio, and don't have this problem

JPGranizo commented 3 years ago

Hi, I use flowSOM via Rstudio, and don't have this problem

Hi, which R version and which FlowSOM / flowWorkspace versions have you installed?

SofieVG commented 3 years ago

Hi,

I haven't encountered this issue and do not think we call this compute_timestep function anywhere in the FlowSOM code. The compute_timestep function seems to be from an older version of flowWorkspace though. Maybe try to update all packages, that another dependency of FlowSOM used this older function and gets loaded when trying to load FlowSOM?

All the best, Sofie

On Mon, 19 Oct 2020 at 23:22, JPGranizo notifications@github.com wrote:

Hi, I use flowSOM via Rstudio, and don't have this problem

Hi, which R version and which FlowSOM / flowWorkspace versions have you installed?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SofieVG/FlowSOM/issues/37#issuecomment-712450125, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOS723GBNP3ZBNCHCOVLG3SLSU27ANCNFSM4SWWKOGQ .

SofieVG commented 3 years ago

Hi @JPGranizo,

As I could not replicate this error and a newer version of the FlowSOM package has been pushed to github in the meantime, I will close this issue for now. If updating the packages didn't work and you're still encountering issues with the newest FlowSOM version, feel free to reopen this issue or start a new one.