Demystifying the art of creating custom libraries for your organization
summary
Claim: creating an internal R package is simple and saves repeated work. Demonstrates building a package called danalytics, adding a notin helper and showing it returns expected TRUE/FALSE results. Shows three install routes: public GitHub, GitHub Enterprise with a personal token, or a shared file directory. Gives real utilities that work at Custom Ink: inkbase (DB connection using keyring and RPostgreSQL/Redshift), getSQL (read SQL files), and datatable CSV export.
AI-written summary · about
chapters (10)
- 0:00Custom libraries introduction
- 2:13Why package functions
- 4:00Basic package setup
- 6:13Testing the package
- 6:58Documenting functions
- 8:04Install from GitHub
- 9:11Install from GitHub Enterprise
- 10:58Install from directory
- 11:19Real-world use cases
- 14:11Summary
related talks
01h 32mCreating Production-Ready Shiny Apps
19mElevating Public Health Decision-Making with R Packages
05mCoding Tools for Industry R&D – Development Lessons from an Analytical Lab
18mR Package Assessment: Lessons from Pharma
17mBreaking Barriers: Adopting R in Biotech with Posit
20mBuilding Governable ML Models with R
20mModernizing the Data Science Toolkit of a 40-year-old Market Research Company
05mTemplated Analyses within R Packages for Collaborative, Reproducible Research
