dwww Home | Show directory contents | Find package

# 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

Generated by dwww version 1.15 on Sat May 18 06:06:39 CEST 2024.