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.

shinyAppDir(appDir = getwd(),
width="100%", height=750

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

1 Like