Skip to content

Commit c167ddf

Browse files
committed
lint: line breaks
1 parent 9ab9731 commit c167ddf

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

R/slide.R

+10-3
Original file line numberDiff line numberDiff line change
@@ -366,10 +366,17 @@ epi_slide <- function(
366366
cli::format_error(c(
367367
"conflict detected between existing columns and slide computation output:",
368368
"i" = "pre-existing columns: {syms(names(res))}",
369-
"x" = "slide computation output included a column {syms(comp_nms[[comp_i]])} that didn't match the pre-existing value"
369+
"x" = "slide computation output included a column {syms(comp_nms[[comp_i]])} that didn't match the
370+
pre-existing value"
370371
)),
371-
capture.output(print(waldo::compare(res[[comp_nms[[comp_i]]]], slide_values[[comp_i]], x_arg = "existing", y_arg = "comp output"))),
372-
cli::format_message(c("You likely want to rename or remove this column from your slide computation's output, or debug why it has a different value."))
372+
capture.output(print(waldo::compare(
373+
res[[comp_nms[[comp_i]]]], slide_values[[comp_i]],
374+
x_arg = "existing", y_arg = "comp output"
375+
))),
376+
cli::format_message(c(
377+
"You likely want to rename or remove this column from your slide computation's output, or
378+
debug why it has a different value."
379+
))
373380
)
374381
rlang::abort(paste(collapse = "\n", lines),
375382
class = "epiprocess__epi_slide_existing_vs_output_column_conflict"

0 commit comments

Comments
 (0)