Deploy with sparkR

Hello! Can we deploy an app with sparkR to shinyapps? I'm trying to publish this basic app below. It runs locally, but it's not published. Any suggestion to make it work?

Thanks in advance!

library(shiny)

Sys.setenv(SPARK_HOME = "/opt/spark")
library(SparkR, lib.loc = c(file.path(Sys.getenv("SPARK_HOME"), "R", "lib")))
sparkR.session()

dados<-read.df('materiais.csv',
                   header = "true", 
                   source='csv')


ui <- fluidPage(
    
        verticalLayout(
            tableOutput("media")
        )
        
)

server <- function(input, output) {
    
    output$media <- renderTable({
        head(dados)
    })
}

# Run the application 
shinyApp(ui = ui, server = server)