Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install hemibrainr #54

Open
ASiliciano opened this issue Jun 10, 2022 · 1 comment
Open

Cannot install hemibrainr #54

ASiliciano opened this issue Jun 10, 2022 · 1 comment

Comments

@ASiliciano
Copy link

Successfully installed natverse and neuprintr, and I would like to start using hemibrainr, however the installation failed. I copied directly from the installation instructions and get the error message below. Any help would be appreciated.
Using Mac OS 11.3
R 4.2.0
R studio 2022.02.3

> if (!require("remotes")) install.packages("remotes")
> remotes::install_github("natverse/hemibrainr")
Using github PAT from envvar GITHUB_PAT
Downloading GitHub repo natverse/hemibrainr@HEAD
Error in utils::download.file(url, path, method = method, quiet = quiet,  : 
  download from 'https://api.github.com/repos/natverse/hemibrainr/tarball/HEAD' failed
@jefferis
Copy link
Contributor

Thanks for your interest and sorry you're having installation troubles. Unfortunately hemibrain is a rather large R package (~ 60 MB, due to the presence of metadata in the repo) and depending on your network and github situation there can be timeouts. You can try to download the zip file of the current master https://github.com/natverse/hemibrainr/archive/refs/heads/master.zip and then install manually like so:

remotes::install_local("hemibrainr-master.zip")

If that still doesn't work, you can git clone the whole repository and then do

remotes::install_local("path/to/hemibrainr")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants