Birthing the pregnancy package (Ella Kaye, University of Warwick) | posit::conf(2025) @PositPBC
Birthing the pregnancy package (Ella Kaye, University of Warwick) | posit::conf(2025)  @PositPBC
Uploaded November 2025 | Updated September 2026, 3 weeks ago
Birthing the pregnancy package

๐Ÿ’ฌ Speaker(s): Ella Kaye

Abstract:
When I was pregnant, I wrote a personal, private package for date and medication calculations, hard-coded with my data. I thought it would be easy to adapt for general use, but no! I wanted the user experience to be excellent, but how to avoid them repeatedly entering the same due date and meds? How to print useful, nicely formatted, grammatically correct information to the console? How to test a package that relies on the current date? Using the pregnancy package as a case study, I'll show how to take advantage of base R features such as global options and %||%, how the cli and rlang packages came to the rescue for messages and how testthat's new mocking features saved the day (literally!) to create a package that's a pleasure to use.

๐Ÿ“ Slides: github.com/EllaKaye/pregnancy-lightning-talk posit::conf(2025) Subscribe to posit::conf updates: posit.co/about/subscription-management
Birthing the pregnancy package (Ella Kaye, University of Warwick) | posit::conf(2025)Snowflake Summit 2026: AI-Powered Data Science with Posit AssistantSeriously, have you tried this AI stuff? Ive never written code like this in my life.Marco Gorelli: Narwhals, ecosystem glue, and the value of boring workAdvent of Code for R users | Emil Hvitfeldt | Data Science LabConnecting to ODBC sources - SQL Server from the Linux Command LinePreview Parquet files easily in the Positron IDEWhat even is dbt? An Analytics engineer explains | Laurie Merrell & Michael Chow | Data Science LabHackathons for education, not competition | Allissa Dillman | Data Science HangoutUse Your Data Skills for Good (Sharon Machlis) | posit::conf(2025)Building Multilingual Data Science Teams (Michael Thomas, Ketchbrook Analytics) | posit::conf(2025)More Control for Your Connect Cloud Deployments
Posit PBC |

Birthing the pregnancy package (Ella Kaye, University of Warwick) | posit::conf(2025)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER