Skip to content

Commit

Permalink
Merge pull request #163 from atorus-research/gh_issue_129
Browse files Browse the repository at this point in the history
Changes reviewed and approved
  • Loading branch information
mstackhouse committed Dec 18, 2023
2 parents 1f26ff6 + 5e5d244 commit 9a17f5c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
22 changes: 11 additions & 11 deletions R/collapse_row_labels.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ add_indentation <- function(.x, .y, indent = " ") {
#' @examples
#' x <- tibble::tribble(
#' ~row_label1, ~row_label2, ~row_label3, ~row_label4, ~var1,
#' "A", "C", "G", "M", 1L,
#' "A", "C", "G", "N", 2L,
#' "A", "C", "H", "O", 3L,
#' "A", "D", "H", "P", 4L,
#' "A", "D", "I", "Q", 5L,
#' "A", "D", "I", "R", 6L,
#' "B", "E", "J", "S", 7L,
#' "B", "E", "J", "T", 8L,
#' "B", "E", "K", "U", 9L,
#' "B", "F", "K", "V", 10L,
#' "B", "F", "L", "W", 11L
#' "A", "C", "G", "M", 1L,
#' "A", "C", "G", "N", 2L,
#' "A", "C", "H", "O", 3L,
#' "A", "D", "H", "P", 4L,
#' "A", "D", "I", "Q", 5L,
#' "A", "D", "I", "R", 6L,
#' "B", "E", "J", "S", 7L,
#' "B", "E", "J", "T", 8L,
#' "B", "E", "K", "U", 9L,
#' "B", "F", "K", "V", 10L,
#' "B", "F", "L", "W", 11L
#' )
#'
#'
Expand Down
22 changes: 11 additions & 11 deletions tests/testthat/test-collapse_row_labels.R
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
dat <- tibble::tribble(
~row_label1, ~row_label2, ~row_label3, ~row_label4, ~var1,
"A", "C", "G", "M", 1L,
"A", "C", "G", "N", 2L,
"A", "C", "H", "O", 3L,
"A", "D", "H", "P", 4L,
"A", "D", "I", "Q", 5L,
"A", "D", "I", "R", 6L,
"B", "E", "J", "S", 7L,
"B", "E", "J", "T", 8L,
"B", "E", "K", "U", 9L,
"B", "F", "K", "V", 10L,
"B", "F", "L", "W", 11L
"A", "C", "G", "M", 1L,
"A", "C", "G", "N", 2L,
"A", "C", "H", "O", 3L,
"A", "D", "H", "P", 4L,
"A", "D", "I", "Q", 5L,
"A", "D", "I", "R", 6L,
"B", "E", "J", "S", 7L,
"B", "E", "J", "T", 8L,
"B", "E", "K", "U", 9L,
"B", "F", "K", "V", 10L,
"B", "F", "L", "W", 11L
)


Expand Down

0 comments on commit 9a17f5c

Please sign in to comment.