0

I am creating a Shiny app using the golem framework. I am at the last part where I am testing to see whether the app can be installed like a package by running remotes::install_local().

However, I am running into the following error:

remotes::install_local()
Error: Failed to install 'XXXX' from local:
  HTTP error 404.
  Not Found

  Did you spell the repo owner (`XXXX`) and repo name (`XXXX`) correctly?
  - If spelling is correct, check that you have the required permissions to access the repo.

Here are the files that are in the project folder - I think that the structure is correct?:

enter image description here

I'm a bit confused, if I am trying to install locally, why is it requiring the repo owner and name? (It's also listing the incorrect repo too).

Thanks

2
  • What does your DESCRIPTION file look like? Where is the XXXX name coming from? Do you reference your own package as a dependency in the DESCRIPTION file?
    – MrFlick
    Feb 6 at 14:40
  • Posit Community crosspost. Feb 6 at 15:21

1 Answer 1

0

I needed to assign a personal access token using credentials::set_github_pat() before running install_github('owner/repo').

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.