I am experiencing the known issue with autoscale and github package installation, where the error message is:
Error: HTTP error 403.
API rate limit exceeded for 52.*******. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
Rate limit remaining: 0/60
Rate limit reset at: 2019-06-24 22:49:36 UTC
To increase your GitHub API rate limit
- Use `usethis::browse_github_pat()` to create a Personal Access Token.
- Use `usethis::edit_r_environ()` and add the token as `GITHUB_PAT`.
Execution halted
However, I have set the githubAuthenticationToken in the credentials.json file. Is the environmental variable not yet set when the github install occurs with the packages are specified in the cluster.json file?
Possibly relevant: I am using a custom docker image (but I want to install the packages from git as I am iterating on package implementation).
I am not sure how to make a reproducible example, but it occurs when scaling up from 1 to ~400 nodes. Here is my cluster.json in case it helps to reproduce:
"name": "psmirnov",
"vmSize": "Standard_D2_v3",
"maxTasksPerNode": 4,
"poolSize": {
"dedicatedNodes": {
"min": 1,
"max": 1
},
"lowPriorityNodes": {
"min": 0,
"max": 5000
},
"autoscaleFormula": "QUEUE"
},
"containerImage": "bhklab/pharmacogx:v3",
"rPackages": {
"cran": ["MASS", "tictoc", "mvtnorm", "abind", "polynom", "memoise", "purrr", "matrixStats"],
"github": ["bhklab/mCI", "bhklab/fastCI"],
"bioconductor": []
},
"commandLine": [],
"subnetId": ""
}