Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install failed #21

Open
liur118 opened this issue Aug 14, 2022 · 3 comments
Open

install failed #21

liur118 opened this issue Aug 14, 2022 · 3 comments

Comments

@liur118
Copy link

liur118 commented Aug 14, 2022

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?

@Lee-xli
Copy link

Lee-xli commented Nov 22, 2023

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.

@larskotthoff
Copy link
Sponsor Member

Can't reproduce. I can install without problems.

@Lee-xli
Copy link

Lee-xli commented Dec 6, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants