tests/testthat/_snaps/title.md

with and without title

Code
  pillar(add_special(10^(1:6)))
Output
  <pillar>
    <dbl>
       10
      100
     1000
    10000
   100000
  1000000
       NA
     -Inf
      Inf
Code
  pillar(add_special(10^(1:6)), title = "crayon")
Output
  <pillar>
   crayon
    <dbl>
       10
      100
     1000
    10000
   100000
  1000000
       NA
     -Inf
      Inf
Code
  pillar(add_special(10^(1:6)), title = "short")
Output
  <pillar>
    short
    <dbl>
       10
      100
     1000
    10000
   100000
  1000000
       NA
     -Inf
      Inf
Code
  pillar(add_special(10^(1:6)), title = "somewhat_wider")
Output
  <pillar>
  somewhat_wider
           <dbl>
              10
             100
            1000
           10000
          100000
         1000000
              NA
            -Inf
             Inf
Code
  pillar(add_special(10^(1:6)), title = "exactly_fifteen")
Output
  <pillar>
  exactly_fifteen
            <dbl>
               10
              100
             1000
            10000
           100000
          1000000
               NA
             -Inf
              Inf
Code
  pillar(add_special(10^(1:6)), title = "absolutely_breaking_all_sensible_boundaries",
  width = 18)
Output
  NULL


Try the pillar package in your browser

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

pillar documentation built on March 31, 2023, 10:19 p.m.