Skip to content

Commit

Permalink
add loading dbg output
Browse files Browse the repository at this point in the history
  • Loading branch information
ivokwee committed Mar 16, 2023
1 parent 03128f6 commit 489774b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/board.loading/R/loading_server.R
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,11 @@ LoadingBoard <- function(id,

pgx <- NULL
if (file.exists(pgxfile1)) {
dbg("[loading_server.R] loading pgx file = ",pgxfile1)
shiny::withProgress(message = "Loading data...", value = 0.33, {
pgx <- local(get(load(pgxfile1, verbose = 0))) ## override any name
})
dbg("[loading_server.R] loading finished")
} else {
warning("[LoadingBoard::loadPGX] ***ERROR*** file not found : ", pgxfile)
return(NULL)
Expand Down

0 comments on commit 489774b

Please sign in to comment.