mlr-org / mlr3

mlr3: Machine Learning in R - next generation
https://mlr3.mlr-org.com
GNU Lesser General Public License v3.0
906 stars 84 forks source link

can't load mlr3verse library #1035

Closed bl6594 closed 2 weeks ago

bl6594 commented 2 weeks ago

received the error below while trying to load the mlr3verse library. Error: package or namespace load failed for ‘mlr3verse’: object ‘FSelectInstanceMultiCrit’ is not exported by 'namespace:mlr3fselect'

install.packages("mlr3verse") Installing package into ‘C:/Users/xxxxxx/AppData/Local/R/win-library/4.4’ (as ‘lib’ is unspecified) trying URL 'https://mlr-org.r-universe.dev/bin/windows/contrib/4.4/mlr3verse_0.2.8.zip' Content type 'application/zip' length 31848 bytes (31 KB) downloaded 31 KB

package ‘mlr3verse’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in C:\Users\xxxxxx\AppData\Local\Temp\Rtmp4sx05g\downloaded_packages

library(mlr3verse) Loading required package: mlr3 Error: package or namespace load failed for ‘mlr3verse’: object ‘FSelectInstanceMultiCrit’ is not exported by 'namespace:mlr3fselect' sessionInfo() R version 4.4.1 (2024-06-14 ucrt) Platform: x86_64-w64-mingw32/x64 Running under: Windows 10 x64 (build 19045)

Matrix products: default

locale: [1] LC_COLLATE=English_United States.utf8 LC_CTYPE=English_United States.utf8 LC_MONETARY=English_United States.utf8 LC_NUMERIC=C
[5] LC_TIME=English_United States.utf8

time zone: America/New_York tzcode source: internal

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

other attached packages: [1] mlr3_0.19.0.9000

loaded via a namespace (and not attached): [1] gtable_0.3.5 ggplot2_3.5.1 htmlwidgets_1.6.4 processx_3.8.4 lattice_0.22-6 vctrs_0.6.5 tools_4.4.1
[8] ps_1.7.6 generics_0.1.3 stats4_4.4.1 parallel_4.4.1 flexmix_2.3-19 tibble_3.2.1 fansi_1.0.6
[15] DEoptimR_1.1-3 cluster_2.1.6 pkgconfig_2.0.3 data.table_1.15.4 checkmate_2.3.1 mlr3filters_0.8.0.9000 uuid_1.2-0
[22] lifecycle_1.0.4 compiler_4.4.1 munsell_0.5.1 RhpcBLASctl_0.23-42 codetools_0.2-20 clue_0.3-65 class_7.3-22
[29] htmltools_0.5.8.1 bbotk_0.8.0.9000 lazyeval_0.2.2 plotly_4.10.4 pillar_1.9.0 crayon_1.5.2 tidyr_1.3.1
[36] prabclus_2.3-3 MASS_7.3-60.2 diptest_0.77-1 redux_1.1.4 fpc_2.2-12 mlr3fselect_0.12.0.9000 mclust_6.1.1
[43] robustbase_0.99-2 parallelly_1.37.1 tidyselect_1.2.1 digest_0.6.35 future_1.33.2 kernlab_0.9-32 dplyr_1.1.4
[50] purrr_1.0.2 listenv_0.9.1 fastmap_1.1.1 grid_4.4.1 colorspace_2.1-0 cli_3.6.2 magrittr_2.0.3
[57] paradox_1.0.0 utf8_1.2.4 scales_1.3.0 backports_1.5.0 rush_0.0.0.9000 httr_1.4.7 globals_0.16.3
[64] nnet_7.3-19 modeltools_0.2-23 mlr3cluster_0.1.9.9000 viridisLite_0.4.2 mlr3misc_0.15.0.9000 rlang_1.1.4 glue_1.7.0
[71] palmerpenguins_0.1.1 jsonlite_1.8.8 lgr_0.4.4 R6_2.5.1

be-marc commented 2 weeks ago

You installed the development version of mlr3fselect 0.12.0.9000 which is not compatible with the CRAN version of mlr3verse. Sorry, this is resolved in a few days. Just install mlr3fselect from CRAN or load the packages individually without mlr3verse.