rmarkdown and shiny app combined report publish on rstudio connect

Hi There, I am trying to include few of my shiny app by writing below script within R chunk of R markdown which works absolutely fine with browser. But somehow unable to publish on rstudio connect.

library(shiny)
shinyAppDir(appDir = getwd(),
options=list(
width="100%", height=750
)
)

Hi, welcome Amit. Instead of getwd() I would try using here::here() , or even "."

2 Likes

This topic was automatically closed 21 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.