From 74b6202280fd6f70f36dca150830d612e2d23e6c Mon Sep 17 00:00:00 2001
From: remy <remy.dernat@univ-montp2.fr>
Date: Wed, 20 Jan 2021 10:16:58 +0100
Subject: [PATCH] Update app.R for shinyjs compatibility with R 4.0.3
 (extendShinyjs function; see
 https://stackoverflow.com/questions/63860952/print-shiny-app-screen-not-working-error-shinyjs-extendshinyjs-functions-ar)

---
 app.R | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app.R b/app.R
index 918d465..16e7b8b 100644
--- a/app.R
+++ b/app.R
@@ -35,7 +35,7 @@ UI <- dashboardPage(
   dashboardBody(
     
     shinyjs::useShinyjs(),
-    extendShinyjs(text = jscode),
+    extendShinyjs(text = jscode, functions = c("collapse")),
     tags$head(tags$link(rel = "stylesheet", type = "text/css", href = "bootstrap.min.readable.css")) ,
     #tags$head(style),
 
-- 
GitLab