satijalab / seurat-data

Dataset distribution for Seurat
GNU General Public License v3.0
129 stars 48 forks source link

Error installing Seurat Data #85

Closed keenhl closed 7 months ago

keenhl commented 7 months ago

devtools::install_github('satijalab/seurat-data') Using GitHub PAT from the git credential store. Error: Failed to install 'unknown package' from GitHub: HTTP error 401. Bad credentials

Rate limit remaining: 51/60 Rate limit reset at: 2024-04-09 22:19:49 UTC

yiqingw-nyu commented 7 months ago

It seems the problem may have been the personal access token from Github. Setting Sys.setenv(GITHUB_PAT = "your PAT") solved the problem for me. I referenced this page: https://stackoverflow.com/questions/70908295/failed-to-install-unknown-package-from-github

keenhl commented 7 months ago

That works for me. Thanks for the advice and for the link to SO.