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

Unable to Install Package #9

Open
SirLight001 opened this issue Mar 17, 2024 · 2 comments · May be fixed by #10
Open

Unable to Install Package #9

SirLight001 opened this issue Mar 17, 2024 · 2 comments · May be fixed by #10

Comments

@SirLight001
Copy link

if (!require("devtools")) install.packages("devtools")
devtools::install_github("forestry-labs/causalToolbox")
Downloading GitHub repo forestry-labs/causalToolbox@HEAD
Error: Failed to install 'causalToolbox' from GitHub:
HTTP error 404.
Not Found

Did you spell the repo owner (forestry-labs) and repo name (Rforestry) correctly?

  • If spelling is correct, check that you have the required permissions to access the repo.
@SirLight001
Copy link
Author

Hi,

I tried to install the package as below:

remotes::install_github("forestry-labs/causalToolbox")

The result yields this:
Downloading GitHub repo forestry-labs/causalToolbox@HEAD
Error: Failed to install 'causalToolbox' from GitHub:
HTTP error 404.
Not Found
Did you spell the repo owner (forestry-labs) and repo name (Rforestry) correctly?

  • If spelling is correct, check that you have the required permissions to access the repo.

How can I successfully install the package?

@muschellij2 muschellij2 linked a pull request Sep 30, 2024 that will close this issue
@muschellij2
Copy link

You should be able to run:

remotes::install_github("https://github.com/muschellij2/Rforestry-base",
                     subdir = "R", force = TRUE)
remotes::install_github("https://github.com/forestry-labs/causalToolbox")

If the pull requests goes through that is referenced above, it should likely work just by using:

remotes::install_github("forestry-labs/causalToolbox")

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

Successfully merging a pull request may close this issue.

2 participants