Hi everyone!
I have recently discovered the leaflet package and Flexdashboard and have no troubles using them separately. However when I try to integrate a leaflet map into my Flexdashboard, nothing happens when I try to run my .Rmd The viewer is stuck with the "Please wait..." screen...
I have tried to simplify everything, leaving nothing more than a few packages and a renderLeaflet line in my code but it still won't load.
When using leaflet with shiny but without Flexdashboard I have no loading problem. Neither when using Flexdashboard with other functions.
Here is my code : (I added some "/" to the backtiles so everything appears in a readable block)
---
title: "Untitled"
output:
flexdashboard::flex_dashboard:
orientation: columns
vertical_layout: fill
runtime: shiny
---
```{r setup, include=FALSE}
library(flexdashboard)
library(tidyverse)
library(leaflet)
library(shiny)
```/
Column {data-width=500}
-----------------------------------------------------------------------
```{r}
renderLeaflet({leaflet() %>%
addTiles()
})
```/
I don't get anything after waiting for a while, not even an error message. Did I miss something? Is there an update that I should be looking for?
Thank you for your help