tests/testthat/_snaps/format_list.md

output test

Code
  pillar(as.list(1:3))
Output
  <pillar>
  <list>   
  <int [1]>
  <int [1]>
  <int [1]>
Code
  pillar(list(1:3, NULL))
Output
  <pillar>
  <list>   
  <int [3]>
  <NULL>   
Code
  pillar(add_special(list(1:3)))
Output
  <pillar>
  <list>   
  <int [3]>
  <NULL>   
Code
  pillar(list(iris), width = 10)
Output
  <pillar>
  <list>    
  <df [150 ~


Try the pillar package in your browser

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

pillar documentation built on July 29, 2021, 9:06 a.m.