Broken icons in sund2b breadcrumb
ismirsehregal opened this issue · 0 comments
ismirsehregal commented
Hi,
first of all thanks for your great package!
I just realized that using sund2b the breadcrumb icons are broken using the latest shiny version:
Here is an example:
library(shiny)
library(sunburstR)
library(htmltools)
library(d3r)
testData <- data.frame(replicate(10, sample(0:10, 10, rep=TRUE)), size = 1)
tree <- d3_nest(testData, value_cols = "size", root = "root")
tree
d2b <- sund2b(data = tree, colors = NULL, valueField = "size", width = "100%",
height = NULL, elementId = NULL)
ui <- fluidPage(
sund2bOutput("d2bOut")
)
server <- function(input, output) {
output$d2bOut <- renderSund2b({d2b})
}
shinyApp(ui = ui, server = server)
Using:
sunburstR * 2.1.0 2018-10-19 Github (2db15aa)
shiny * 1.2.0 2018-10-23 Github (rstudio/shiny@2629e59)
Might be related to this
Edit: No it's not, issue here persists after using fixed shiny version.