Day 1: usethis - Project Setup Automation 🎯
The usethis package is your best friend for automating repetitive package development tasks! 🤖
💡 Pro Tip: Set up your global options once with usethis::edit_r_profile() to add your name, email, and preferred license.
📚 Resources: https://usethis.r-lib.org
#RPackageDev #RStats #usethis #RPackageAdvent2025 📦
usethis package logo, a cute robot with the text "usethis" on its chest.
# Start a new package
usethis::create_package("~/mypackage")
# Add essential infrastructure
usethis::use_mit_license()
usethis::use_readme_rmd()
usethis::use_github_action("check-standard")
usethis::use_testthat(3)
usethis::use_pkgdown()