Closed zac-garland closed 4 years ago
For context, here's an example. If you run this a few times, you'll see that the page is blank for any of the ID's that start with a numeric.
library(shiny)
library(fullPage)
pics <- jsonlite::fromJSON("https://picsum.photos/v2/list")$download_url
ui <- fullPage(
center = TRUE,
fullSection(
lapply(pics[1:15],function(x){
fullSlideImage(
img = x
)
})
)
)
server <- function(input, output){}
shinyApp(ui, server)
Thanks Zac that looks great. I'm happy to implement that unless you want to create a PR.
Hi John, no problem! I will create a PR this afternoon or tomorrow morning.
Thank you!
@JohnCoene no problem, thanks for implementing and great job on the package!
Ehhhh I forgot to ask; please feel free to re-do a PR to add yourself as contributor.
Great job on the package @JohnCoene
One small fix.. the current
rand
function often generates id's with leading numerics. Which often causes issues with that slide / page, etc.reprex below and new proposed function
Created on 2020-08-05 by the reprex package (v0.3.0)