unable to deploy shiny app to shinyapp.io (problem maybe accessing packages)

Hi All

I wanted to create an accessible html page of my interactive heatmap from Interactive Complex heatmap and the following is my code;
the running of app is successful but the deployment is not
i get the following error from the code below

Error: Unhandled Exception: Child Task 911689254 failed: Error parsing manifest: Unable to determine package source for Bioconductor package S4Vectors: Repository must be specified

Hope to get any advice please! I dont understand why rsconnect is unable to link to package source when i have already specificed my repos.
Thank you!

r <- getOption("repos")
r["CRAN"] <- "https://cran.rstudio.com"
r["BioC"] <- "https://bioconductor.org"
options(repos = r)

library(BiocManager)
options(repos = BiocManager::repositories())
library(ComplexHeatmap)
library(InteractiveComplexHeatmap)
library(RColorBrewer)
library(shiny)
library(rsconnect)
colAnn <- HeatmapAnnotation(df=my_sample_col,which = "col",col=genotypecolors)
rowAnn <- HeatmapAnnotation(df=mygenecol2,which = "row",col=themecolors)
heatmap=Heatmap(counts, name = "Z-score counts", col = myCol,column_title = "%s",
                cluster_rows = FALSE,show_column_dend = FALSE,row_split = mygenecol2,column_split = my_sample_col,row_title_rot = 0,column_km = 1,
                left_annotation = rowAnn,row_names_gp =gpar(fontsize=2))
ht=draw(heatmap)
htShiny(ht)

library(shiny)
ui = fluidPage(
    InteractiveComplexHeatmapOutput()
)

server = function(input, output, session) {
    makeInteractiveComplexHeatmap(input, output, session, ht)
}

shinyApp(ui = ui, server = server)
deployApp("C:/Users/K/Desktop/appdir/myapp")

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.