Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

diagnostics page doesn't load if stan_used=FALSE? #185

Open
jgabry opened this issue Aug 6, 2020 · 1 comment
Open

diagnostics page doesn't load if stan_used=FALSE? #185

jgabry opened this issue Aug 6, 2020 · 1 comment
Assignees

Comments

@jgabry
Copy link
Member

jgabry commented Aug 6, 2020

@VeenDuco something I noticed on the v3-alpha branch:

Part of the reason to allow sampler params and stuff to be specified when using the array method for as.shinystan() is to allow people running HMC/NUTS but not Stan to still get diagnostic info. However, if I use the "array" method for as.shinystan() and specify stan_used=FALSE then the "Diagnostics" page doesn't seem to load (it just stays blank). To verify this just change stan_used=FALSE in the new as.shinystan method for CmdStanMCMC objects that I added. So even though stan_algorithm="NUTS" and stan_method="sampling" and sampler_params are provided, it seems like stan_used=FALSE prevents it from loading diagnostics. Or is that just my computer?

@VeenDuco VeenDuco self-assigned this Aug 7, 2020
@VeenDuco
Copy link
Collaborator

VeenDuco commented Aug 7, 2020

Hey I think you are right! The problem is in the diagnoseHompage.r file. I need to adjust the conditions to load the diagnostics pages. Will take a look at this asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants