Loading…
useR! 2024
Attending this event?
In Person & Virtual
8 - 11 July, 2024
Learn more and Register to Attend

The Sched app allows you to build your schedule but is not a substitute for your event registration. You must be registered for useR! 2024 to participate in the sessions. If you have not registered but would like to join us, please go to the event registration page to purchase a registration.

Please note: This schedule is automatically displayed in Central European Time (UTC+1)To see the schedule in your preferred timezone, please select from the drop-down menu to the right, above "Filter by Date." The schedule is subject to change.
Tuesday, July 9 • 12:00 - 12:20
{Constructive} : a Nicer `dput()` Using Idiomatic Constructors - Antoine Fabri, Cynkra

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

It can be hard to understand an R object. print() or str() methods don't tell the full story, and dput() has several issues: * Et doesn't handle some objects * It is sometimes inaccurate, and doesn't test its accuracy * It uses only low level constructors (list(), c(), not factor(), data.frame() etc) * Its output's indentation is inconvenient The constructive package tackles those issues and more and can be used for : * Object exploration/debugging * Reproducible examples * Editing manually data in R * Snapshot tests We'll demonstrate during this talk the main features and use cases for this package.

Speakers
avatar for Antoine Fabri

Antoine Fabri

Ir., Cynkra
Antoine Fabri has been a R user for more than a decade and contributed several packages to the open source community, such as constructive, flow, powerjoin, typed, unglue, boomer. He's been working as an R consultant full time at Cynkra since September 2021.


Tuesday July 9, 2024 12:00 - 12:20 CEST
Pongau + Flachgau
Feedback form isn't open yet.