Keep getting similar errors when trying to install from GitHub. Downloaded most recent versions of R and RStudio without success - I imagine this is something silly I'm doing. Appreciate any help for my R-naivete. This is not the only attempt from GitHub, and I've tried with others, such as:
"bhattlab/bhattlab_workflows" (this is confirmed public and available)
"J-PAL/Sample_Size_and_Power"
Getting same 404 error.
Thanks!
'''r
devtools::install_github("InstituteforDiseaseModeling/EMOD")
Error: Failed to install 'unknown package' from GitHub:
HTTP error 404.
Not Found
Did you spell the repo owner (InstituteforDiseaseModeling
) and repo name (EMOD
) correctly?
- If spelling is correct, check that you have the required permissions to access the repo.
traceback()
8: stop(remote_install_error(remotes[[i]], e))
7: value[3L]
6: tryCatchOne(expr, names, parentenv, handlers[[1L]])
5: tryCatchList(expr, classes, parentenv, handlers)
4: tryCatch(res[[i]] <- install_remote(remotes[[i]], ...), error = function(e) {
stop(remote_install_error(remotes[[i]], e))
})
3: install_remotes(remotes, auth_token = auth_token, host = host,
dependencies = dependencies, upgrade = upgrade, force = force,
quiet = quiet, build = build, build_opts = build_opts, build_manual = build_manual,
build_vignettes = build_vignettes, repos = repos, type = type,
...)
2: pkgbuild::with_build_tools({
ellipsis::check_dots_used(action = getOption("devtools.ellipsis_action",
rlang::warn))
{
remotes <- lapply(repo, github_remote, ref = ref, subdir = subdir,
auth_token = auth_token, host = host)
install_remotes(remotes, auth_token = auth_token, host = host,
dependencies = dependencies, upgrade = upgrade, force = force,
quiet = quiet, build = build, build_opts = build_opts,
build_manual = build_manual, build_vignettes = build_vignettes,
repos = repos, type = type, ...)
}
}, required = FALSE)
1: devtools::install_github("InstituteforDiseaseModeling/EMOD")
'''