Commit d3c7b074 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

chore: add a warning message on attach when RStudio is used

Refs #46
parent be99fdef
Pipeline #26139 passed with stage
in 1 minute and 52 seconds
......@@ -6,6 +6,12 @@
base::packageStartupMessage("\tinstall.packages(\"remotes\")\n\tremotes::install_github(\"ramnathv/htmlwidgets\")")
base::packageStartupMessage("\n---------------------------\n")
}
if (.Platform$GUI == "RStudio") {
base::packageStartupMessage("\n---------------------------\n")
base::packageStartupMessage("The Shiny graphical user interface launched by the 'ShinyGR' function is sometimes unstable on latest versions of Rstudio")
base::packageStartupMessage("It is better to launch the GUI from the Rgui or from R into a terminal")
base::packageStartupMessage("\n---------------------------\n")
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment