R/valuesToTibbles.R

Defines functions .valuesToTibbles

#' Convert list elements to tibbles.
#'
#' This helper function takes a list of elements and converts each element into
#' a tibble.
#'
#' @param values `list`. The list whose elements must be converted to tibbles.
#'
#' @return A list where each original element has been converted to a tibble.
#'
#' @importFrom checkmate assert_list
#' @importFrom purrr map
#' 
#' @keywords internal
#' @noRd
#'
.valuesToTibbles <- function(values) {
  
  assert_list(values)
  
  values <- map(values, ~ .valueToTibble(value = .x))
  
  return(values)
}

Try the eppoFindeR package in your browser

Any scripts or data that you put into this service are public.

eppoFindeR documentation built on April 25, 2026, 1:07 a.m.