mlr3verse icon indicating copy to clipboard operation
mlr3verse copied to clipboard

install failed

Open liur118 opened this issue 2 years ago • 3 comments

Description

here is my command to install the mlr3verse

> remotes::install_github("mlr-org/mlr3verse")

here is the output


Downloading GitHub repo mlr-org/mlr3verse@HEAD
Running `R CMD build`...
* checking for file '..........\Temp\RtmpWOjcX2\remotes44447c1933a2\mlr-org-mlr3verse-0b7c79a/DESCRIPTION' ... OK
* preparing 'mlr3verse':
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
* building 'mlr3verse_0.2.5.tar.gz'
* installing *source* package 'mlr3verse' ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error: .onLoad failed in loadNamespace() for 'mlr3cluster', details:
  call: rbindlist(l, use.names, fill, idcol)
  error: Item 2 has 6 columns, inconsistent with item 1 which has 7 columns. To fill missing columns use fill=TRUE.
Execution halted
ERROR: lazy loading failed for package 'mlr3verse'
* removing 'D:/dev/env/R/R-4.2.1/library/mlr3verse'
* restoring previous 'D:/dev/env/R/R-4.2.1/library/mlr3verse'
Warning message:
In i.p(...) :
  安装程序包‘........../Temp/RtmpWOjcX2/file44443072682/mlr3verse_0.2.5.tar.gz’时退出狀態的值不是0

here is my PC info

设备名称	liur
处理器	12th Gen Intel(R) Core(TM) i7-12700K   3.60 GHz
机带 RAM	32.0 GB (31.7 GB 可用)
系统类型	64 位操作系统, 基于 x64 的处理器

How can I install it properly?

liur118 avatar Aug 14 '22 10:08 liur118

SAME issue from CRAN download:

install.packages("mlr3verse") Installing package into ‘/Users/Lee/Library/R/x86_64/4.1/library’ (as ‘lib’ is unspecified) trying URL 'https://cloud.r-project.org/bin/macosx/contrib/4.1/mlr3verse_0.2.8.tgz' Content type 'application/x-gzip' length 28715 bytes (28 KB) ================================================== downloaded 28 KB

The downloaded binary packages are in /var/folders/h9/mk74ndv15fq6kd52jwwt1hd00000gn/T//RtmpxqxfIs/downloaded_packages

library(mlr3verse) #to query the mlr learners available Error: package or namespace load failed for ‘mlr3verse’: .onLoad failed in loadNamespace() for 'mlr3cluster', details: call: rbindlist(l, use.names, fill, idcol) error: Item 2 has 6 columns, inconsistent with item 1 which has 7 columns. To fill missing columns use fill=TRUE. In addition: Warning message: package ‘mlr3verse’ was built under R version 4.1.2


Any advice would be much appreciated.

Lee-xli avatar Nov 22 '23 23:11 Lee-xli

Can't reproduce. I can install without problems.

larskotthoff avatar Nov 23 '23 00:11 larskotthoff

Hi, Thank you very much for such a prompt reply. This is indeed a mystery as mlr3verse worked on my workplace desktop but failed as detailed in the post on my PC (MacBook Pro). Any idea why that may be the case?

Lee-xli avatar Dec 06 '23 17:12 Lee-xli