tests/testthat/escaping/basic-escape-out.R

#' things
#'
#' @examples
#' call("\\.")
NULL


#' things
#'
#' @examples
#' call("\n")
NULL

#' things
#'
#' @examples
#' call("\n")
#' ano("\\.", further = X)
NULL


#' things
#'
#' @examples
#' call("\n")
#' ano("\\.", further = X)
NULL

"single quotes with
embedded and \n not embedded line breaks"

x <- "	2" # there is a tab emebbed (created with writeLines("x <- '\t2'"))

x <- "\001"
"\x01"

"\001"
"\001"

#' things
#'
#' @examplesIf N
#' call("\n")
#' ano("\\.", further = X)
NULL

#' things
#'
#' @examplesIf call("\n")
#' ano("\\.", further = X)
NULL
r-lib/styler documentation built on Dec. 13, 2024, 5:42 p.m.