stan-dev / stan-dev/shinystan

Issue when launching shinystan demo

Open
#197 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
199
Forks
46
PR merge metrics
No merged PRs in 30d

Description

After having installed the shinystan 2.6.0 package in R 4.2.0, I tried to launch the model demo but the windows that should open pops and then quickly disappears, leaving the following message in the R console:

Listening on http://127.0.0.1:4995
The name provided ('refresh') is deprecated in Font Awesome 5:
* please consider using 'sync' or 'fas fa-sync' instead
* use the verify_fa = FALSE to deactivate these messages
The name provided ('refresh') is deprecated in Font Awesome 5:
* please consider using 'sync' or 'fas fa-sync' instead
* use the verify_fa = FALSE to deactivate these messages
Warning: Error in switch: unused arguments (By model parameter = "parameter", Sample information = "lp", Treedepth information = "treedepth", Step size information = "stepsize", Divergence information = "divergent")
3: shiny::runApp
2: launch
1: shinystan::launch_shinystan_demo

Here is my code:

install.packages("shinystan")
library(shinystan)
shinystan::launch_shinystan_demo()

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with shinystan::launch_shinystan_demo() in R 4.2.0 and start at the launch_shinystan_demo entry point named in the traceback. Trace the switch error involving the listed model parameters and determine why the demo window closes; done means the demo launches and remains usable without that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.