I’m getting a timeout for cmdstanr::install_cmdstan().
Is there an option like:
remotes::install_github("stan-dev/cmdstanr", auth_token = <my private token here>)
for cmdstanr::install_cmdstan()?
This is being installed in from a Dockerfile on AWS if that helps with more context.
cmdstanr checks the standard GITHUB_PAT environment variable for a user-provided github auth token.
You can read more about how this is generally handled in R packages in this rOpenSci blog post
Thank you @andrjohns for the help!
Here’s what I did inside my docker file:
RUN R -e 'Sys.setenv(GITHUB_PAT = "<my private token here"); cmdstanr::install_cmdstan()'