fixed loading NULL

This commit is contained in:
Andreas Gammelgaard Damsbo 2024-11-28 21:11:44 +01:00
parent 15fe4ca188
commit 5d2228b892
No known key found for this signature in database

View file

@ -18,7 +18,11 @@ shiny_webResearch <- function(data = NULL, ...) {
}
G <- .GlobalEnv
if (!is.null(data) && is.data.frame(data)) {
assign("webResearch_data", data, envir = G)
}
a <- shiny::runApp(appDir = appDir, ...)
return(invisible(a))
}