From fada3d27ac588e06958dd847c40b68874c327492 Mon Sep 17 00:00:00 2001 From: Jordan Mark Barbone Date: Wed, 24 Apr 2024 11:07:58 -0400 Subject: [PATCH] Update Rprofile-package.R https://shiny.posit.co/blog/posts/shiny-r-1.8.1/#js-errors --- R/Rprofile-package.R | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/R/Rprofile-package.R b/R/Rprofile-package.R index 4c611ec..0ff424b 100644 --- a/R/Rprofile-package.R +++ b/R/Rprofile-package.R @@ -29,6 +29,10 @@ lockEnvironment(rprofile) .Todos(.quiet = FALSE, .space = TRUE) .CheckCranStatus() .Search() + + if (requireNamespace("shiny", quietly = TRUE)) { + shiny::devmode() + } } jordan <-