HTTP 404 error when installing R package from public repo on Github

hxcandy

I'm trying to install an R package from a public Github (https://github.com/verena-zuber/demo_AMD):

devtools::install_github("verena-zuber/demo_AMD")

Failed to install 'unknown package' from GitHub: HTTP error 404. Not Found

Did you spell the repo owner (verena-zuber) and repo name (demo_AMD) correctly?

  • If spelling is correct, check that you have the required permissions to access the repo. As far as I can see the repro is public. Do you have any idea what is the issue here?
Grzegorz Sapijaszko

The thing is, it's not a package per se. It's just a few .R (and .Rmd) files collected together :). Therefore you can't install it as a package. However, you can download the whole set and use it sourcing the .R files, like:

source("summary_mvMR_SSS.R")
source("summary_mvMR_BF.R")

You can check in .Rmd how it's done.

Regards, Grzegorz

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Installing R from CRAN Ubuntu repository: No Public Key Error

How to install package from github repo in Yarn

npm install package from github repo subfolder

Error when installing "devtools" package for R in Ubuntu

Installing a package offline from GitHub

Installing nuget package from GitHub

Error When Installing Packages with Dependencies from Local Repo

Error when installing TDA package on R

Error installing a python package from github in canopy terminal

Installing any conda package returns python error only when using Artifactory repo as channel

Installing specific R package from specific branch from github repo on travis-ci

Downloading package from GitHub Maven Package Repo results in a 400 error

No such file or directory error when installing github package in anaconda

Error when trying to install package from GitHub

404 Error: ENOENT, stat '/public/ when starting app from grunt

R: Installing package from github/version?

Unmet dependencies error when installing "readr" package in R

Issues when installing python package from github (google/protobuf)

Module fails to import when installing from github repo as egg in pip

Make a GitHub repo private from within R using the gh package

`Not Found (HTTP 404)` error when using `genius` package to get lyrics

Error message when installing xml2 R package

"package or namespace load failed" error in loading R package from GitHub

Slack-app got removed from workspace when bot-token got publish to public Github repo

GitHub Actions throws Git Error when npm installing private GitHub repo

Error 404 installing R package from public github repro

GitHub link giving 404 error when copy pasting the exact same link to repo/directory

Parse error when installing packages from source (on the example of package rms)

Add public Github repo to Julia as a package