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
krlmlr/styler documentation built on April 8, 2024, 7:53 p.m.