tests/testthat/_snaps/ornament.md

ornament

Code
  new_ornament(c("abc", "de"))
Output
  <pillar_ornament>
  abc
  de 
Code
  new_ornament(c("abc", "de"), align = "right")
Output
  <pillar_ornament>
  abc
   de
Code
  new_ornament(c("abc", "de"), width = 5, align = "right")
Output
  <pillar_ornament>
    abc
     de
Code
  format(new_ornament(c("abc", "de")))
Output
  [1] "abc" "de "
Code
  format(new_ornament(c("abc", "de")), width = 5)
Output
  [1] "abc  " "de   "

vertical

Code
  as_glue(c("abc", "de"))
Output
  abc
  de


hadley/pillar documentation built on April 26, 2024, 4:19 a.m.