tests/testthat/_snaps/format_numeric.md

same pillar at different widths

Code
  pillar(v, width = 4)
Output
  NULL
Code
  pillar(v, width = 7)
Output
  <pillar>
    <dbl>
     1e-5
     1e-2
     1e+3
     1e+6
Code
  pillar(v, width = 10)
Output
  <pillar>
       <dbl>
        1e-5
        1e-2
        1e+3
        1e+6
Code
  pillar(v, width = 15)
Output
  <pillar>
          <dbl>
        0.00001
        0.01   
     1000      
  1000000      
Code
  pillar(v, width = 22)
Output
  <pillar>
          <dbl>
        0.00001
        0.01   
     1000      
  1000000


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.