I work on a Shiny app. When I execute the following code a map displays on a web, all is fine (in my project I separate ui and server files, here I show it as one code):