Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Dec 13, 2024
1 parent 6f3aacf commit 06155c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion R/data_rotate.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#' names.
#' @param verbose Toggle warnings.
#'
#' @inherit data_rename seealso
#'
#' @return A (rotated) data frame.
#'
#' @examples
Expand All @@ -36,7 +38,6 @@
#' data_rotate(x, colnames = TRUE)
#' data_rotate(x, colnames = "c")
#'
#' @inherit data_rename seealso
#' @export
data_rotate <- function(data, rownames = NULL, colnames = FALSE, verbose = TRUE) {
# copy attributes
Expand Down
3 changes: 2 additions & 1 deletion R/data_to_long.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
#' with `tidyr::pivot_longer()`. If both `select` and `cols` are provided, `cols`
#' is used.
#'
#' @inherit data_rename seealso
#'
#' @details
#' Reshaping data into long format usually means that the input data frame is
#' in _wide_ format, where multiple measurements taken on the same subject are
Expand Down Expand Up @@ -124,7 +126,6 @@
#' values_to = "count"
#' )
#' head(even_longer_data)
#' @inherit data_rename
#' @export
data_to_long <- function(data,
select = "all",
Expand Down

0 comments on commit 06155c7

Please sign in to comment.