R-ArcGIS / arcgisutils

http://r.esri.com/arcgisutils/
Apache License 2.0
15 stars 2 forks source link

Standalone vctrs? #33

Open JosiahParry opened 7 months ago

JosiahParry commented 7 months ago

Follow up with: https://github.com/R-ArcGIS/arcgislayers/issues/58 Possible solution from gabor is to use vctrs standalone from r-lang https://fosstodon.org/@gaborcsardi/111097312300288758

would like to have tibble-esque printing with data.frame class. The tables we get are fairly nasty.

elipousson commented 7 months ago

Would love to see improved printing for data frames from arcgislayers! One note though: vctrs is already a dependency via dbplyr and httr2. Why not just add it to your imports?

JosiahParry commented 6 months ago

Good point! Standalone is nice because then upstream changes won't cause errors here. It's like vendoring dependencies which has its benefits!

The standalone version adds tbl class but vctrs::data_frame() does not and the tbl class is the pretty pillar part :)