Demystifying the art of creating custom libraries for your organization
summary
Builds an R package called danalytics, drops in a working notin function (verified with TRUE/FALSE output), documents it in man/, and installs via install_github, GitHub Enterprise with a personal token, or a shared file directory. Shows concrete helpers: inkbase (keyring + RPostgreSQL connection wrapper), getSQL (read SQL files and run on Redshift), and a datatable export helper (copy/CSV buttons). Demonstrates the full workflow end-to-end and confirms install and usage succeed.
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
22mEmpowering a data team with RStudio addins
11mField Guide to Writing Your First R Package
24mLet's play together: Collaborative Data Science
04mWhy’d you load that package for?
21mDon’t repeat yourself, talk to yourself! Reporting with R
16mSmall Package, Broad Impact: How I Discovered the Ultimate New Hire Hack
18mLevel up! Empowering industry R users with different levels of experience
17mProject Immortality: Using GitHub To Make Your Work Live Forever
