Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions R/create_consort_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ create_consort_data <- function(.data, ...) {
)
# if no arrows are set up, allow the joins so the box prints
if (nrow(consort_arrows) == 0) {
consort_arrows <- bind_rows(
consort_arrows <- dplyr::bind_rows(
consort_arrows,
tibble(
dplyr::tibble(
start = NA, start_side = NA, end = NA, end_side = NA,
start_x = NA, start_y = NA, end_x = NA, end_y = NA
)
Expand All @@ -38,9 +38,9 @@ create_consort_data <- function(.data, ...) {
)
# if no lines are set up, allow the joins so the box prints
if (nrow(consort_lines) == 0) {
consort_lines <- bind_rows(
consort_lines <- dplyr::bind_rows(
consort_lines,
tibble(
dplyr::tibble(
start = NA, start_side = NA, end = NA, end_side = NA,
start_x = NA, start_y = NA, end_x = NA, end_y = NA
)
Expand Down Expand Up @@ -113,7 +113,7 @@ create_consort_data <- function(.data, ...) {

dplyr::full_join(
boxes,
bind_rows(arrows, lines),
dplyr::bind_rows(arrows, lines),
by = "type"
) %>%
dplyr::filter(
Expand Down