Shinymaterial SSL CA cert error inside Rstudio but not from bash

I am working on a small Shiny app where I want to use the shinymaterial package. The problem is the following:
When I want to start the app with shiny::runApp() or simply run the whole code within app.R I get the following error.

Warning in file(con, "r") :
  URL '': status was 'Problem with the SSL CA cert (path? access rights?)'
Error in file(con, "r") : 
  cannot open the connection to ''

Strangely the app runs totally fine when I start it from bash with Rscript app.R.
Here is a small example where I get the error


# Wrap shinymaterial apps in material_page
ui <- material_page(
  title = "Basic Page + Side-Nav with Tabs",
  nav_bar_fixed = TRUE,
  # Place side-nav in the beginning of the UI
    fixed = TRUE,
    # Place side-nav tabs within side-nav
      side_nav_tabs = c(
        "Example Side-Nav Tab 1" = "example_side_nav_tab_1",
        "Example Side-Nav Tab 2" = "example_side_nav_tab_2"
      icons = c("cast", "insert_chart")
  # Define side-nav tab content
    side_nav_tab_id = "example_side_nav_tab_1",
    tags$h1("First Side-Nav Tab Content")
    side_nav_tab_id = "example_side_nav_tab_2",
    tags$h1("Second Side-Nav Tab Content")

server <- function(input, output) {
shinyApp(ui = ui, server = server)

and my sessioninfo:

R version 3.5.1 (2018-07-02)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.1 LTS

Matrix products: default
BLAS: /opt/microsoft/ropen/3.5.1/lib64/R/lib/
LAPACK: /opt/microsoft/ropen/3.5.1/lib64/R/lib/

 [1] LC_CTYPE=de_AT.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=de_AT.UTF-8        LC_COLLATE=de_AT.UTF-8    
 [7] LC_PAPER=de_AT.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] RevoUtils_11.0.1     RevoUtilsMath_11.0.0

loaded via a namespace (and not attached):
[1] compiler_3.5.1 tools_3.5.1   

Any suggestions on how to fix this are greatly appreciated.

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