Skip to content

Commit 8e60617

Browse files
committed
Use yaml package in example
1 parent 8389f56 commit 8e60617

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

R/utils.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ relative_to_wd <- function(path) {
1616
#' @param x A character vector or single string
1717
#' @return The input with quoted attributes applied
1818
#' @examples
19-
#' as_yaml(list(id = yaml_quote_string("1.0")))
20-
#' as_yaml(list(id = "1.0"))
19+
#' yaml::as.yaml(list(id = yaml_quote_string("1.0")))
20+
#' yaml::as.yaml(list(id = "1.0"))
2121
#'
2222
#' @export
2323
yaml_quote_string <- function(x) {

man/yaml_quote_string.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)