mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2025-09-12 09:59:39 +02:00
fixed loading NULL
This commit is contained in:
parent
15fe4ca188
commit
5d2228b892
1 changed files with 5 additions and 1 deletions
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue