Hi everyone,
I'm developing my first shiny app and it's working fine on my computer, but when I publish it on shinyapps.io it disconnects from server and stops working.
There isn't anything in the log and looking at the developper console on my browser, I could only find a code":4702, message.
After digging a little bit I managed to isolate the line inside my code with the problem.
It seems to be linked to the following call
BSgenome::getSeq()
Trying to figure out what was the problem with this function, I did this :
library(shiny)
library(BSgenome.Hsapiens.NCBI.GRCh38)
# Define UI for application that draws a histogram
ui <- fluidPage(
titlePanel("Bsgenome test"),
verbatimTextOutput("bs_text")
)
# Define server logic required to draw a histogram
server <- function(input, output) {
output$bs_text <- renderPrint(Biostrings::getSeq(BSgenome.Hsapiens.NCBI.GRCh38, names = "5"))
}
# Run the application
shinyApp(ui = ui, server = server)
I was a little bit suprised by the difference between the locale and online version of this code
I don't understand why there is a difference ?