Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
brancengregory committed Feb 20, 2024
1 parent bf0bdf4 commit cf11bb2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/run_api.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ run_api <- function(config, ..., .background = FALSE) {
db <- new_db_pool(config)
withr::defer(pool::poolClose(db))

if(.background) {
if (.background) {
future::plan(future.callr::callr)

} else {
Expand Down
Binary file modified avg_days_to_ready.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions inst/scripts/reporting.R
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ plot_avg_days_to_ready <- function(data, result) {

# Main script

start_date <- as_date("2023-09-01")
end_date <- rollback(as_date("2023-10-01"))
start_date <- as_date("2023-10-01")
end_date <- rollback(as_date("2023-11-01"))

data <- load_preprocess_data(
start_date = start_date,
Expand Down

0 comments on commit cf11bb2

Please sign in to comment.