curso-r / treesnip

Parsnip backends for `tree`, `lightGBM` and `Catboost`
https://curso-r.github.io/treesnip
GNU General Public License v3.0
85 stars 13 forks source link

Installation of package had non-zero exit status (treesnip_0.1.0.9000 #36

Open aka7h opened 3 years ago

aka7h commented 3 years ago

Hello,

I am getting the following error when i try to install treesnip package.

Error: Failed to install 'treesnip' from GitHub: (converted from warning) installation of package ‘C:/Users/akkash.nr/AppData/Local/Temp/Rtmp0QFfRa/file59e422687a99/treesnip_0.1.0.9000.tar.gz’ had non-zero exit status

Please find my sessionInfo below and help me on how to resolve the issue. Thanks

**R version 3.6.1 (2019-07-05) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 18363)

Matrix products: default

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

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

loaded via a namespace (and not attached): [1] ps_1.3.0 prettyunits_1.1.1 withr_2.3.0 packrat_0.5.0
[5] crayon_1.4.1 rprojroot_1.3-2 assertthat_0.2.1 R6_2.5.0
[9] backports_1.1.4 cli_2.3.1 curl_4.0 rstudioapi_0.13
[13] remotes_2.2.0 callr_3.4.4 tools_3.6.1 glue_1.4.2
[17] compiler_3.6.1 processx_3.4.1 pkgbuild_1.1.0**

tonyk7440 commented 3 years ago

Hi @aka7h ,

You should be able to install this directly from CRAN install.packages("treesnip"), does that work for you?

If not, I would try upgrading your version of R, your current version is pretty old at this stage

mastros95 commented 3 years ago

Hello, I have the same problem with @aka7h

sessioninfo: R version 4.0.3 (2020-10-10) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19041)

Matrix products: default

locale: [1] LC_COLLATE=English_Cyprus.1252 LC_CTYPE=English_Cyprus.1252 LC_MONETARY=English_Cyprus.1252 [4] LC_NUMERIC=C LC_TIME=English_Cyprus.1252

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

other attached packages: [1] lightgbm_3.2.0 R6_2.5.0 RSQLite_2.2.3

Thanks