diff --git a/DESCRIPTION b/DESCRIPTION index 04bc61a..f1160c6 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: breakerofchains Title: Break Chained Expressions and Run Them with Printed Output -Version: 0.3.1 +Version: 0.3.2 Authors@R: person(given = "Miles", family = "McBain", diff --git a/R/polyfill_base_pipe.R b/R/polyfill_base_pipe.R index 5c120e0..3a9d7fa 100644 --- a/R/polyfill_base_pipe.R +++ b/R/polyfill_base_pipe.R @@ -13,7 +13,7 @@ polyfill_base_pipe <- function(source_tokens) { greater_than <- source_tokens$value == ">" same_row <- source_tokens$row == dplyr::lead(source_tokens$row, - default = Inf) + default = .Machine$integer.max) pipes <- vertical_bar & dplyr::lead(greater_than, default = FALSE) &