R/yaml_to_tibble.R

Defines functions yaml_to_tibble

Documented in yaml_to_tibble

#' yaml_to_tibble
#' @importFrom yaml read_yaml
#' @importFrom tibble as_tibble
#' @param file File to be converted
#' @return a [tibble][tibble::tibble-package]
#' @export
yaml_to_tibble <- function(file) {
  read_yaml(file) %>%
    as_tibble()
}
trianglegirl/levelup documentation built on Aug. 22, 2024, 3:33 a.m.