Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install the package correctly #116

Open
diabloyg opened this issue Jul 25, 2023 · 2 comments
Open

Cannot install the package correctly #116

diabloyg opened this issue Jul 25, 2023 · 2 comments
Labels
bug 💣 Bug to fix

Comments

@diabloyg
Copy link

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 HubertR21 added the bug 💣 Bug to fix label Jul 25, 2023
@HubertR21
Copy link
Collaborator

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 💣 Bug to fix
Projects
None yet
Development

No branches or pull requests

2 participants