I previously had the error solved in a previous topic, which was solved by going back to an old version of flexmix.
I used the data(es.mef.small) included with the scde package (get the same error with own data)
> sessionInfo()
R version 3.4.0 (2017-04-21)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Sierra 10.12.3
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] parallel stats graphics grDevices utils datasets methods
[8] base
other attached packages:
[1] RColorBrewer_1.1-2 RANN_2.5.1 gmodels_2.16.2
[4] tidyr_0.6.3 scde_2.4.1 scater_1.4.0
[7] Biobase_2.36.2 BiocGenerics_0.22.0 useful_1.2.1
[10] dplyr_0.5.0 Matrix_1.2-10 ggplot2_2.2.1
[13] biomaRt_2.32.0 flexmix_2.3-13 lattice_0.20-35
loaded via a namespace (and not attached):
[1] nlme_3.1-131 bitops_1.0-6
[3] matrixStats_0.52.2 pbkrtest_0.4-7
[5] tools_3.4.0 backports_1.1.0
[7] R6_2.2.1 rpart_4.1-11
[9] vipor_0.4.5 Hmisc_4.0-3
[11] DBI_0.6-1 lazyeval_0.2.0
[13] mgcv_1.8-17 colorspace_1.3-2
[15] nnet_7.3-12 gridExtra_2.2.1
[17] compiler_3.4.0 quantreg_5.33
[19] htmlTable_1.9 Cairo_1.5-9
[21] SparseM_1.77 sandwich_2.3-4
[23] tcltk2_1.2-11 scales_0.4.1
[25] checkmate_1.8.2 RcmdrMisc_1.0-5
[27] Lmoments_1.2-3 stringr_1.2.0
[29] digest_0.6.12 foreign_0.8-68
[31] relimp_1.0-5 minqa_1.2.4
[33] distillery_1.0-2 base64enc_0.1-3
[35] htmltools_0.3.6 Rcmdr_2.3-2
[37] lme4_1.1-13 extRemes_2.0-8
[39] limma_3.32.2 htmlwidgets_0.8
[41] rlang_0.1.1 readxl_1.0.0
[43] RSQLite_1.1-2 shiny_1.0.3
[45] zoo_1.8-0 gtools_3.5.0
[47] BiocParallel_1.10.1 acepack_1.4.1
[49] car_2.1-4 RCurl_1.95-4.8
[51] magrittr_1.5 modeltools_0.2-21
[53] Formula_1.2-1 Rcpp_0.12.11
[55] ggbeeswarm_0.5.3 munsell_0.4.3
[57] S4Vectors_0.14.1 abind_1.4-5
[59] viridis_0.4.0 stringi_1.1.5
[61] edgeR_3.18.1 MASS_7.3-47
[63] zlibbioc_1.22.0 rhdf5_2.20.0
[65] plyr_1.8.4 grid_3.4.0
[67] gdata_2.17.0 shinydashboard_0.6.0
[69] splines_3.4.0 locfit_1.5-9.1
[71] knitr_1.16 tcltk_3.4.0
[73] rjson_0.2.15 reshape2_1.4.2
[75] stats4_3.4.0 XML_3.98-1.7
[77] RcppArmadillo_0.7.800.2.0 latticeExtra_0.6-28
[79] pcaMethods_1.68.0 data.table_1.10.4
[81] nloptr_1.0.4 httpuv_1.3.3
[83] MatrixModels_0.4-1 cellranger_1.1.0
[85] RMTstat_0.3 gtable_0.2.0
[87] assertthat_0.2.0 mime_0.5
[89] xtable_1.8-2 e1071_1.6-8
[91] class_7.3-14 survival_2.41-3
[93] viridisLite_0.2.0 tibble_1.3.1
[95] AnnotationDbi_1.38.0 beeswarm_0.2.3
[97] memoise_1.1.0 IRanges_2.10.1
[99] Rook_1.1-1 tximport_1.4.0
[101] cluster_2.0.6 brew_1.0-6