Coder Social home page Coder Social logo

Problem with missing themes about shinystan HOT 13 OPEN

MLK97 avatar MLK97 commented on June 20, 2024
Problem with missing themes

from shinystan.

Comments (13)

jgabry avatar jgabry commented on June 20, 2024 2

Also, I'm going to keep this open until I can get a release out that fixes this. Thanks again for reporting it.

from shinystan.

jgabry avatar jgabry commented on June 20, 2024

Thanks for reporting this! I'm on a Mac and everything seems to be working ok, so maybe this is an issue only on Windows and Linux. @VeenDuco if you have a moment could you see if you are able to reproduce this error on your computer?

from shinystan.

jgabry avatar jgabry commented on June 20, 2024

@MLK97 Can you try installing shinystan from a branch I just made (without the flatly theme) and see if that works? You can do

devtools::install_github("stan-dev/shinystan", ref = "no-flatly-theme")

and then try loading shinystan and checking launch_shinystan_demo(). Thanks!

from shinystan.

MLK97 avatar MLK97 commented on June 20, 2024

Sorry for the late reply @jgabry
This actually did the trick and it works now.
Only getting a deprecated warning but that is not a big problem

Listening on http://127.0.0.1:7210
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

Thank you for helping and solving it that fast.
Hope this also helps someone else.

from shinystan.

jgabry avatar jgabry commented on June 20, 2024

Glad that works!

from shinystan.

MLK97 avatar MLK97 commented on June 20, 2024

@klamb011 have you tried @jgabry's workaround?

@MLK97 Can you try installing shinystan from a branch I just made (without the flatly
theme) and see if that works? You can do

devtools::install_github("stan-dev/shinystan", ref = "no-flatly-theme")

and then try loading shinystan and checking launch_shinystan_demo(). Thanks!

from shinystan.

klamb011 avatar klamb011 commented on June 20, 2024

@MLK97
Alright. I did that and it opened what appears to be another window with what I am assuming is the shiny app. That worked just fine. But I try running my code and it still says that the theme is not available.

from shinystan.

jgabry avatar jgabry commented on June 20, 2024

Hmm, that's strange. I wonder if you need a fresh R session. If you start a fresh R session, run the installation code above, and then try launching shinystan with your model does it work?

from shinystan.

klamb011 avatar klamb011 commented on June 20, 2024

I ended up fixing it myself. Apparently, I needed an older version of RStudio, specifically 1.3.1096 instead of the most recent version. So if anyone else runs into this issue, there you go!!

from shinystan.

jgabry avatar jgabry commented on June 20, 2024

Thanks for the update. Strange that the latest RStudio doesn't work. I'll see if I can figure out why.

from shinystan.

lgondara avatar lgondara commented on June 20, 2024

I was having the same issue, but for another shiny app. Issue seems to be with shinythemes package and the new R Studio. Replacing shinythemes by bslib seems to resolve the issue. i.e. instead of shinythemes::shinytheme("theme_name"), use bslib::bs_theme(bootswatch = "theme_name" ). It also states on shinythemes repo that it has been superseded by the {bslib} package. Hope it helps.

from shinystan.

jgabry avatar jgabry commented on June 20, 2024

Thanks @lgondara! That helps a lot. I'll look into bslib::bs_theme.

from shinystan.

tranktle avatar tranktle commented on June 20, 2024
devtools::install_github("stan-dev/shinystan", ref = "no-flatly-theme")

Thank you, I came up with the same error (I use Windows), and running the above line helped.

from shinystan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.