a-hanf / mlr3automl

Automated machine learning in mlr3
GNU Lesser General Public License v3.0
25 stars 4 forks source link

Installation fails without installing ml3extralearners #18

Closed ledell closed 3 years ago

ledell commented 3 years ago

I think you might be missing a command to install ml3extralearners in your list of installation commands:

devtools::install_github('https://github.com/mlr-org/mlr3@master')
devtools::install_github('https://github.com/mlr-org/mlr3tuning@autotuner-notimeout')
devtools::install_github('https://github.com/a-hanf/mlr3automl@development')

Here's the error I got:

> devtools::install_github('https://github.com/a-hanf/mlr3automl@development')
Downloading GitHub repo a-hanf/mlr3automl@master
Skipping 2 packages not available: mlr3extralearners, glmnet
✓  checking for file ‘/private/var/folders/gj/cm0k4b_s42j30zs376cq_5hh0000gn/T/Rtmp6Nhtam/remotesa773542f4f5/a-hanf-mlr3automl-eed029b/DESCRIPTION’ ...
─  preparing ‘mlr3automl’:
✓  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building ‘mlr3automl_0.0.0.9000.tar.gz’

Installing package into ‘/Users/me/Library/R/3.5/library’
(as ‘lib’ is unspecified)
ERROR: dependency ‘mlr3extralearners’ is not available for package ‘mlr3automl’
* removing ‘/Users/me/Library/R/3.5/library/mlr3automl’
Error: Failed to install 'mlr3automl' from GitHub:
  (converted from warning) installation of package ‘/var/folders/gj/cm0k4b_s42j30zs376cq_5hh0000gn/T//Rtmp6Nhtam/filea7745b7e50b/mlr3automl_0.0.0.9000.tar.gz’ had non-zero exit status

However, after installing ml3extralearners then the install of the ml3automl worked:

devtools::install_github('https://github.com/mlr-org/mlr3extralearners@master')
a-hanf commented 3 years ago

Thank you, fixed with https://github.com/a-hanf/mlr3automl/commit/862bfe0f5bc558f46f635d9d469bb28906d7035b