ModelOriented / forester

Trees are all you need
https://modeloriented.github.io/forester/
GNU General Public License v3.0
108 stars 14 forks source link

Cannot install the package correctly #116

Open diabloyg opened 11 months ago

diabloyg commented 11 months ago

Hello,

The installation somewhat does not work. By running devtools::install_github("ModelOriented/forester") or remotes::install_github("ModelOriented/forester"), it appears:

Error: Failed to install 'unknown package' from GitHub: Line starting 'VignetteBuild ...' is malformed!

I am sure that other packages could be installed in this way, but it didn't work for forester.

HubertR21 commented 11 months ago

Hi,

Could you provide some more information about the system you are working on?

Possible solutions to the problems might be:

  1. Turning off the vignette build (the package is changing regularly and it might not have been updated yet),: devtools::install_github("ModelOriented/forester", build_vignettes = FALSE)
  2. Installing optional packages: most probably:
    install.packages('tinytex')
    tinytex::install_tinytex()

    Although there might be also some issues with:

    devtools::[install_github](https://remotes.r-lib.org/reference/install_github.html)('catboost/catboost', subdir = 'catboost/R-package')
    devtools::[install_github](https://remotes.r-lib.org/reference/install_github.html)('ricardo-bion/ggradar', dependencies = TRUE)
diabloyg commented 11 months ago

Hi, The R version 4.2.2 was running on windows 10 x64 build 17763.

The first approach did not work out, with the same information out:

Error: Failed to install 'unknown package' from GitHub: Line starting 'VignetteBuild ...' is malformed!

For the second approach, although 'application/octet-stream' has been downloaded, the installation of forester still failed.