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/colformat documentation built on April 29, 2024, 10:22 a.m.