DillonHammill / CytoExploreR

Interactive Cytometry Data Analysis
61 stars 13 forks source link

Error : package 'flowWorkspace' could not be loaded #122

Closed Biomiha closed 3 years ago

Biomiha commented 3 years ago

Hi @DillonHammill,

I've tried a fresh install CytoExploreR on a new Windows laptop and keep getting the following:

Error : package 'flowWorkspace' could not be loaded
Error: loading failed
Execution halted
*** arch - x64
ERROR: loading failed for 'i386'

I installed the dependencies:

remotes::install_github("RGLab/cytolib", force = TRUE)
remotes::install_github("RGLab/flowCore", force = TRUE)
remotes::install_github("RGLab/ncdfFlow", force = TRUE)
remotes::install_github("RGLab/flowWorkspace", force = TRUE)
remotes::install_github("RGLab/flowClust", force = TRUE)
remotes::install_github("RGLab/flowStats", force = TRUE)
remotes::install_github("RGLab/openCyto", force = TRUE)

and then:

devtools::install_github("DillonHammill/CytoExploreR")

Do you know if this is a Windows issue, a flowWorkspace issue or something to do with the 64-bit (i386) architecture?

Session info below.

Thanks, Miha


> sessionInfo()
R version 4.1.0 (2021-05-18)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19043)

Matrix products: default

locale: [1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United Kingdom.1252 LC_MONETARY=English_United Kingdom.1252 [4] LC_NUMERIC=C LC_TIME=English_United Kingdom.1252

attached base packages: [1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached):

[1] rstudioapi_0.13 magrittr_2.0.1 usethis_2.0.1 devtools_2.4.2 pkgload_1.2.1 R6_2.5.1
[7] rlang_0.4.11 fastmap_1.1.0 tools_4.1.0 pkgbuild_1.2.0 sessioninfo_1.1.1 cli_3.0.1
[13] withr_2.4.2 ellipsis_0.3.2 remotes_2.4.0 rprojroot_2.0.2 lifecycle_1.0.0 crayon_1.4.1
[19] processx_3.5.2 purrr_0.3.4 callr_3.7.0 fs_1.5.0 ps_1.6.0 testthat_3.0.4
[25] curl_4.3.2 memoise_2.0.0 glue_1.4.2 cachem_1.0.6 compiler_4.1.0 desc_1.3.0
[31] prettyunits_1.1.1

DillonHammill commented 3 years ago

The GitHub versions of these packages are no longer required so I would recommend installing the binaries from BioConductor instead.

BiocManager::install(c("cytolib", "flowCore", "flowWorkspace", "flowStats", "openCyto"))
Biomiha commented 3 years ago

Still get the same error unfortunately.

Biomiha commented 3 years ago

Just to confirm, I don't get the same error on a Mac, so it might be Windows specific.

DillonHammill commented 3 years ago

Since you are running 64 bit windows there is no need to install 32 bit version. Try adding the following option to your install_github() calls - INSTALL_opts = '--no-multiarch'.

Biomiha commented 3 years ago

That did it! Thanks Dillon.