library(cmdstanr) in path not set

Hi all

While publishing my shiny app to shinyapp. io, i get an error on library(cmdstanr) saying that the path is not set correctly.

From this article: Chapter 2 Getting Started | user guide , i can see that the rsconnect takes care of all included packages coming from CRAN or Github.

Still, i get below error:
Warning: Error in : CmdStan path has not been set yet. See ?set_cmdstan_path.

I tried to install the package anyway in shinyapp. io, but that doesn't work either.

Any idea on how to resolve this?

Thanks in advance!