Skip to content

Commit

Permalink
Fix split_at_blanks() man
Browse files Browse the repository at this point in the history
  • Loading branch information
EllaKaye committed Jan 2, 2024
1 parent 64c5517 commit b8563a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions R/wrangle-helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ lines_to_matrix <- function(lines, split = "") {
#'
#' When the strings represent numbers, it's better to read them in as a character vector using `aoc_input_vector()`, then change mode to numeric as part of call to `split_at_blanks()`.
#' @param lines A character vector
#' @param mode Character string. One of 'character' or 'numeric'. Default is 'character'.
#' @param split character. The string to split the input on. Default is `""`, i.e. split at blank lines
#'
#' @return A list, with one element per group originally separated by blank lines.
Expand Down
2 changes: 2 additions & 0 deletions man/split_at_blanks.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b8563a7

Please sign in to comment.