diff --git a/dev/run_tests.R b/dev/run_tests.R index 8647a7e..c11912d 100644 --- a/dev/run_tests.R +++ b/dev/run_tests.R @@ -168,6 +168,6 @@ if (output_dir != "-") { cli::cli_alert_success("Writing {.file {out_file}}") } -status <- dplyr::if_else(all(c(res_summary$failed, res_summary$error == 0)), 0, 1) +status <- dplyr::if_else(all(c(res_summary$failed, res_summary$error) == 0), 0, 1) cli::cli_alert_info("Exiting with status {.val {status}}") quit(save = "no", status = status)