Rendering Issues

Hi Guys,
I'm trying to run the following code:

library(shiny)
library(shinybulma)

ui <- bulmaPage(
  bulmaContainer(
    bulmaButton(
      "Button",
      color = "info",
      rounded = TRUE
    ),
    bulmaButton(
      "Outline",
      style = "outlined"
    )
  )
)

server <- function(input, output){}

shinyApp(ui, server)

Shiny applications not supported in static R Markdown documents

Created on 2019-04-24 by the reprex package (v0.2.1)

Session info
devtools::session_info()
#> - Session info ----------------------------------------------------------
#>  setting  value                       
#>  version  R version 3.5.3 (2019-03-11)
#>  os       Windows 10 x64              
#>  system   x86_64, mingw32             
#>  ui       RTerm                       
#>  language (EN)                        
#>  collate  English_United States.1252  
#>  ctype    English_United States.1252  
#>  tz       America/Santiago            
#>  date     2019-04-24                  
#> 
#> - Packages --------------------------------------------------------------
#>  package     * version date       lib
#>  assertthat    0.2.1   2019-03-21 [1]
#>  backports     1.1.4   2019-04-10 [1]
#>  callr         3.2.0   2019-03-15 [1]
#>  cli           1.1.0   2019-03-19 [1]
#>  crayon        1.3.4   2017-09-16 [1]
#>  desc          1.2.0   2018-05-01 [1]
#>  devtools      2.0.2   2019-04-08 [1]
#>  digest        0.6.18  2018-10-10 [1]
#>  evaluate      0.13    2019-02-12 [1]
#>  fs            1.2.7   2019-03-19 [1]
#>  glue          1.3.1   2019-03-12 [1]
#>  highr         0.8     2019-03-20 [1]
#>  htmltools     0.3.6   2017-04-28 [1]
#>  httpuv        1.5.1   2019-04-05 [1]
#>  knitr         1.22    2019-03-08 [1]
#>  later         0.8.0   2019-02-11 [1]
#>  magrittr      1.5     2014-11-22 [1]
#>  memoise       1.1.0   2017-04-21 [1]
#>  mime          0.6     2018-10-05 [1]
#>  pkgbuild      1.0.3   2019-03-20 [1]
#>  pkgload       1.0.2   2018-10-29 [1]
#>  prettyunits   1.0.2   2015-07-13 [1]
#>  processx      3.3.0   2019-03-10 [1]
#>  promises      1.0.1   2018-04-13 [1]
#>  ps            1.3.0   2018-12-21 [1]
#>  R6            2.4.0   2019-02-14 [1]
#>  Rcpp          1.0.1   2019-03-17 [1]
#>  remotes       2.0.4   2019-04-10 [1]
#>  rlang         0.3.4   2019-04-07 [1]
#>  rmarkdown     1.12    2019-03-14 [1]
#>  rprojroot     1.3-2   2018-01-03 [1]
#>  sessioninfo   1.1.1   2018-11-05 [1]
#>  shiny       * 1.3.2   2019-04-22 [1]
#>  shinybulma  * 0.0.1   2019-04-24 [1]
#>  stringi       1.4.3   2019-03-12 [1]
#>  stringr       1.4.0   2019-02-10 [1]
#>  usethis       1.5.0   2019-04-07 [1]
#>  withr         2.1.2   2018-03-15 [1]
#>  xfun          0.6     2019-04-02 [1]
#>  xtable        1.8-4   2019-04-21 [1]
#>  yaml          2.2.0   2018-07-25 [1]
#>  source                                
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.2)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  Github (RinteRface/shinybulma@b653771)
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.3)                        
#>  CRAN (R 3.5.2)                        
#> 
#> [1] C:/Users/Ponchov/Documents/R/win-library/3.5
#> [2] C:/Program Files/R/R-3.5.3/library

The thing is when I'm running this and checking the Viewer pane i get something like this:

But when Open in my Browser I get the correct rendering like this:

I've had some similar problems with my Blogdown site, the Viewer pane look horribly as my deployment in Netlify looks nice.

As a side issue I'm trying some argon libraries like argonDash and argonR and the CSS seems not to load correctly.

I know is a lot of questions but everthing shows that the Viewer pane is not working correctly.

Any Help will be really appreciated.

Thanks,

Alfonso

What version of RStudio are you using? You might try updating to the latest release of v1.2: https://www.rstudio.com/products/rstudio/download/

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.