Skip to content

Commit

Permalink
added progress bar for spatial checks in data quality evaluation tab (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-abelman authored Jun 14, 2024
1 parent 6bbfe96 commit ad37597
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 6 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,6 @@ BuildVignettes: yes
ByteCompile: TRUE
devtools: :use_data(MainDataTable)
Encoding: UTF-8
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
LazyData: true
Config/testthat/edition: 3
5 changes: 4 additions & 1 deletion inst/ShinyFiles/MainApp/server.R
Original file line number Diff line number Diff line change
Expand Up @@ -3235,6 +3235,7 @@ server = function(input, output, session) {

# run spatial checks
observeEvent(input$runSpatQAQC, {
withProgress({
q_test <- quietly_test(spatial_qaqc)

out <- q_test(dat = values$dataset, project = project$name, spat = spatdat$dataset,
Expand All @@ -3254,7 +3255,9 @@ server = function(input, output, session) {
# out
spat_qaqc$out <- out
}

},
message = "Running checks: ",
detail = 'Can take up to a few seconds to run.')
}, ignoreInit = TRUE, ignoreNULL = TRUE)

# Spatial checks output
Expand Down
5 changes: 3 additions & 2 deletions man/create_startingloc.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 13 additions & 2 deletions man/pred_prob_outputs.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/run_policy.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ad37597

Please sign in to comment.