Closed dylanhmorris closed 1 month ago
@kaitejohnson, I think you are already addressing this in https://github.com/CDCgov/ww-inference-model/tree/189-add-windows-check?
Yes except it doesn't work! I think that install of cmdstanr on windows won't work. Perhaps there is a workaround, or perhaps we close this... https://www.maxmantei.com/2020/05/16/cmdstanr-windows/
In EpiNow2, they don't install cmdstanr on windows in R CMD check bc I think it doesn't work https://github.com/epiforecasts/EpiNow2/blob/ba7b48d10a3989580642e73f72087d7d76f2f4ea/.github/workflows/R-CMD-check.yaml#L69
It seems their script is failing to fetch the latest version of the package here. @seabbs, what about using gh cli
directly? This would do the same thing:
gh api \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
repos/stan-dev/cmdstan/releases/latest
And it would work across OSs.
I think it could be good to use gh
(though it adds more weight to action) but I am not sure that will solve the issue resolving the latest version. Worth a try though.
gh cli
comes shipped with the runners. The only issue would be if you run it within a container.
you are right! I implemented this today and it looks good to me (though it has long looked good to me and then transciently started to fail.. hopefully we are working through that now)
Closing this one as @kaitejohnson and @seabbs addressed Windows in #190 and OSX is now a separate issue in #204.
Originally posted by @dylanhmorris in https://github.com/CDCgov/ww-inference-model/issues/187#issuecomment-2379798202
We will need to address #145, since the current snapshot test of MCMC output is architecture-specific.