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?
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.
Comments