Open theDierickxLab opened 1 year ago
Check if the access token is available in the current access environment.
Sys.getenv("GITHUB_PAT")
If there is, record the access token, and then unset the access token.
Sys.unsetenv("GITHUB_PAT")
re-download and it will be fine.
devtools::install_github('junjunlab/scRNAtoolVis') Downloading GitHub repo junjunlab/scRNAtoolVis@HEAD Error in utils::download.file(url, path, method = method, quiet = quiet, : download from 'https://api.github.com/repos/junjunlab/scRNAtoolVis/tarball/HEAD' failed
Using github PAT from envvar GITHUB_PAT Error: Failed to install 'unknown package' from GitHub: HTTP error 401. Bad credentials
Rate limit remaining: 47/60 Rate limit reset at: 2023-03-10 14:09:34 UTC