Can't install the BooST algorithm, please help

Hi,
I tried installing the BooST algorithm by running these codes

library(devtools)
install_github("gabrielrvsc/BooST") 

I get these errors

Error: package or namespace load failed for ‘usethis’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
 there is no package called ‘rlang’
Error: package ‘usethis’ could not be loaded

After attempting to install usethis, I get this error

WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

 https://cran.rstudio.com/bin/windows/Rtools/
 Installing package into ‘C:/Users/LENOVO1/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)

`

You are missing Rtools in your system (not in R) to compile packages from source or you haven't configured it properly, you can download it from here

https://cran.r-project.org/bin/windows/Rtools/

Also, you are missing the rlang package so you have to install it (after installing RTools).

install.packages("rlang")

Thanks andresrcs, I installed Rtools in my system and installed the other required packages.

However, I get this error despite trying to install BooST through devtools and remotes

library(devtools)
install_github("gabrielrvsc/BooST")

And I get this error

Downloading GitHub repo gabrielrvsc/BooST@HEAD
Error in utils::download.file(url, path, method = method, quiet = quiet,  : 
  cannot open URL 'https://api.github.com/repos/gabrielrvsc/BooST/tarball/HEAD'

Also with remotes

library(remotes)
remotes::install_github("gabrielrvsc/BooST")

A similar error pops up

Downloading GitHub repo gabrielrvsc/BooST@HEAD
Error in utils::download.file(url, path, method = method, quiet = quiet,  : 
  cannot open URL 'https://api.github.com/repos/gabrielrvsc/BooST/tarball/HEAD'

The problem was solved, I just changed the download method to libcurl.
Thanks

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.