Hi everyone,
Each time I run a shiny script, I get the message:
Warning in body(fun) : argument is not a function
It does not seem to give problem, but I don't like have such a message.
To reproduce it (I cannot make more simple ;) ):
if (interactive()) {
ui <- fluidPage(
)
server <- function(input, output) {
}
shinyApp(ui=ui, server=server)
}
Thanks if someone could tell me how to prevent this message.
Marc
And I run it from Rstudio. Here are my session information:
> sessionInfo()
R Under development (unstable) (2017-01-02 r71879)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: macOS Sierra 10.12.2
locale:
[1] fr_FR.UTF-8/fr_FR.UTF-8/fr_FR.UTF-8/C/fr_FR.UTF-8/fr_FR.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] HelpersMG_1.8.4 coda_0.19-1 shiny_0.14.2
loaded via a namespace (and not attached):
[1] compiler_3.4.0 R6_2.2.0 htmltools_0.3.5 tools_3.4.0 Rcpp_0.12.8 grid_3.4.0
[7] jsonlite_1.2 digest_0.6.11 xtable_1.8-2 httpuv_1.3.3 mime_0.5 lattice_0.20-34