tests/testthat/_snaps/rd-usage.md

new wrapping style doesn't change unexpectedly

f(
  a = "                                    a",
  b = "                                    b",
  c = "                                    c",
  d = "                                    d"
)

f(
  a = c("abcdef", "abcdef", "abcdef", "abcdef", "abcdef", "abcdef", "abcdef", "abcdef",
    "abcdef", "abcdef")
)

\method{mean}{reallyratherquitelongclassname}(
  reallyreatherquitelongargument = "reallyratherquitelongvalue_____________________"
)

long_replacement_fun(
  x,
  a = "aaaaaaaaaaaaaaaa",
  b = "aaaaaaaaaaaaaaaa",
  c = "aaaaaaaaaaaaaaaa"
) <- value

function_name(
  x,
  y,
  xy = "abcdef",
  xyz = c(`word word word word` = "abcdef", `word word word` = "abcdef", `word word word`
    = "abcdef", `word word word` = "abcdef")
)

function_name(
  f = function(x) {
     1
     2
 }
)

old wrapping style doesn't change unexpectedly

f(a = "                                    a",
  b = "                                    b",
  c = "                                    c",
  d = "                                    d")

f(a = c("abcdef", "abcdef", "abcdef", "abcdef", "abcdef", "abcdef", "abcdef",
  "abcdef", "abcdef", "abcdef"))


  \method{mean}{reallyratherquitelongclassname}(reallyreatherquitelongargument = "reallyratherquitelongvalue_____________________")

long_replacement_fun(x, a = "aaaaaaaaaaaaaaaa", b = "aaaaaaaaaaaaaaaa",
  c = "aaaaaaaaaaaaaaaa") <- value

f(xxxxxxxxxxxxxxxxxx1, xxxxxxxxxxxxxxxxxx2, xxxxxxxxxxxxxxxxxx3, x = "\\"'",
  xxxxxxxxxxxxxxxxxx4, xxxxxxxxxxxxxxxxxx5, xxxxxxxxxxxxxxxxxx6,
  xxxxxxxxxxxxxxxxxx7)


r-lib/roxygen2 documentation built on April 21, 2024, 4:36 a.m.