Skip to content
This repository has been archived by the owner on Dec 9, 2020. It is now read-only.

rightgbm::install_lightgbm() installation error #3

Open
statkclee opened this issue Aug 29, 2020 · 1 comment
Open

rightgbm::install_lightgbm() installation error #3

statkclee opened this issue Aug 29, 2020 · 1 comment

Comments

@statkclee
Copy link

When I install treesnip through lightgbm(), I could not install it.

rightgbm::install_lightgbm()
#> Error in utils::install.packages(get_url(platform), repos = NULL, ...): type == "both" cannot be used with 'repos = NULL'

Created on 2020-08-29 by the reprex package (v0.3.0)

> sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Catalina 10.15.6

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

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

other attached packages:
[1] reprex_0.3.0   rightgbm_0.1.2

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.5              cellranger_1.1.0        pillar_1.4.6            compiler_4.0.2          tools_4.0.2            
 [6] digest_0.6.25           packrat_0.5.0           jsonlite_1.7.0          lubridate_1.7.9         evaluate_0.14          
[11] lifecycle_0.2.0         tibble_3.0.3            viridisLite_0.3.0       pkgconfig_2.0.3         rlang_0.4.7            
[16] rstudioapi_0.11         yaml_2.2.1              curl_4.3                xfun_0.16               kableExtra_1.2.1       
[21] httr_1.4.2              stringr_1.4.0           tidytuesdayR_1.0.1.9000 xml2_1.3.2              knitr_1.29             
[26] fs_1.4.2                generics_0.0.2          vctrs_0.3.2             hms_0.5.3               webshot_0.5.2          
[31] glue_1.4.1              R6_2.4.1                processx_3.4.3          readxl_1.3.1            rmarkdown_2.3          
[36] clipr_0.7.0             callr_3.4.3             whisker_0.4             purrr_0.3.4             readr_1.3.1            
[41] magrittr_1.5            ps_1.3.3                usethis_1.6.1           scales_1.1.1            ellipsis_0.3.1         
[46] htmltools_0.5.0         rsconnect_0.8.16        rvest_0.3.5             colorspace_1.4-1        stringi_1.4.6          
[51] munsell_0.5.0           crayon_1.3.4        
@Athospd Athospd transferred this issue from curso-r/treesnip Aug 29, 2020
@Athospd
Copy link
Member

Athospd commented Aug 29, 2020

Hey @statkclee, I've just made a small fix in get_url() that might solve this problem. Could you please reinstall and try again?
Thanks!

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

No branches or pull requests

2 participants