forester icon indicating copy to clipboard operation
forester copied to clipboard

Cannot install the package correctly

Open diabloyg opened this issue 2 years ago • 2 comments

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.

diabloyg avatar Jul 25 '23 09:07 diabloyg

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)

HubertR21 avatar Jul 25 '23 10:07 HubertR21

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.

diabloyg avatar Jul 27 '23 08:07 diabloyg