I'm trying to install an R package from a public Github:
devtools::install_github(repo='FrankD/EDISON',
ref='MultipleTimeSeries',
subdir='Package/EDISON/')
Error: Failed to install 'unknown package' from GitHub: HTTP error 404. Not Found
Did you spell the repo owner (
datarichard
) and repo name (EDISON
) correctly? - If spelling is correct, check that you have the required permissions to access the repo.
Does anyone know why I'm getting this error? The same command used to work 7 months ago so something changed. My devtools version is 2.2.1
I've tried forking it to my own repo to remove any hidden authorisation issues but I get the same error, e.g.:
devtools::install_github(repo='datarichard/EDISON',
ref='MultipleTimeSeries',
subdir='Package/EDISON/')
You're missing a forward slash on your subdir, and the ending slash can be removed:
devtools::install_github(repo='datarichard/EDISON',
ref='MultipleTimeSeries',
subdir='/Package/EDISON') # here