tests/testthat/roxygen-examples-complete/19-escaped-slash-out.R

#' Data frame and Tables Pretty Formatting
#'
#' @examples
#' c("\nA \\nyellow \\\nline", "yellow")
#' c("\ A \\ nyellow \\\ nline", "yellow")
#' \dontrun{
#' c("\nA \\nyellow \\\nline", "yellow")
#' c("\ A \\ nyellow \\\ nline", "yellow")
#' }
#' @export
NULL


one <- "\t"
two <- "\\t"
three <- "\\\t"
four <- "\\\\t"
five <- "\\\\\t"
six <- "\\\\\\t"

two <- "\\"
four <- "\\\\"
five <- "\\\\."
six <- "\\\\\\w"
six <- "\\\\\\"

Try the styler package in your browser

Any scripts or data that you put into this service are public.

styler documentation built on Aug. 29, 2023, 5:10 p.m.