Skip to content

Commit 428ba33

Browse files
workaround
1 parent 64670d0 commit 428ba33

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

R/plot_onedim.R

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,9 @@ plot_onedim <- dynutils::inherit_default_params(
230230

231231
#' @importFrom dplyr near
232232
make_connection_plotdata <- function(linearised) {
233-
connections <- crossing(
234-
linearised$milestone_network %>% select(.data$from, x_from = .data$cumstart),
235-
linearised$milestone_network %>% select(.data$to, x_to = .data$cumend)
236-
) %>%
233+
from <- linearised$milestone_network %>% select(.data$from, x_from = .data$cumstart)
234+
to <- linearised$milestone_network %>% select(.data$to, x_to = .data$cumend)
235+
connections <- crossing(from, to) %>%
237236
filter(
238237
.data$from == .data$to,
239238
.data$x_from != .data$x_to

0 commit comments

Comments
 (0)