From be1183f8245b3f226ee7efe6bc66a438e33851a1 Mon Sep 17 00:00:00 2001 From: kartikeya Date: Thu, 21 Sep 2023 14:52:04 +0530 Subject: [PATCH] fixing spell --- R/yaml_utils.R | 4 ++-- man/reverse_yaml_field.Rd | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/R/yaml_utils.R b/R/yaml_utils.R index edaa7da7..ffda108e 100644 --- a/R/yaml_utils.R +++ b/R/yaml_utils.R @@ -239,9 +239,9 @@ print.rmd_yaml_header <- function(x, ...) { cat(x, ...) } -#' Extract a Field from YAML and Optionally Retrieve Names from a List +#' Extract a Field from `YAML` and Optionally Retrieve Names from a List #' -#' This function parses a YAML text and extracts the specified field. It provides +#' This function parses a `YAML` text and extracts the specified field. It provides #' the option to retrieve the names of elements from a list if the field contains a list. #' #' @param yaml_text A character vector containing the `yaml` text. diff --git a/man/reverse_yaml_field.Rd b/man/reverse_yaml_field.Rd index c5299c9a..bc730737 100644 --- a/man/reverse_yaml_field.Rd +++ b/man/reverse_yaml_field.Rd @@ -2,7 +2,7 @@ % Please edit documentation in R/yaml_utils.R \name{reverse_yaml_field} \alias{reverse_yaml_field} -\title{Extract a Field from YAML and Optionally Retrieve Names from a List} +\title{Extract a Field from \code{YAML} and Optionally Retrieve Names from a List} \usage{ reverse_yaml_field(yaml_text, field_name) } @@ -16,7 +16,7 @@ it returns the names of elements in the list; otherwise, it returns the extracted field. } \description{ -This function parses a YAML text and extracts the specified field. It provides +This function parses a \code{YAML} text and extracts the specified field. It provides the option to retrieve the names of elements from a list if the field contains a list. } \keyword{internal}