naikai / sake

sake
27 stars 12 forks source link

Issues with updated shiny? #80

Closed naikai closed 3 years ago

naikai commented 3 years ago

User reports issues when upgrading their packages. Suspect it's related to shiny packages


shiny::runApp(system.file("sake", package="sake")) Loading required package: shiny Error in get(name, envir = asNamespace(pkg), inherits = FALSE) : object '%OR%' not found

It appears the global.R file line 13 is the source of the error. When commenting this line out, I do get the shiny app to load, however, the functionality is extremely restricted. %then% <- shiny:::%OR%


Will need to replace that line with link

%then% <- function(a, b) { if (is.null(a)) b else a }

naikai commented 3 years ago

Fix d1b71d96407c6231dfdf23bafe266e77d6220fa2