Le-Huynh Truc-Ly
  • home
  • projects
  • r-code
  • blog
  • publications
  • CV
  • get in touch!
    • LinkedIn
    • email
    • GitHub

On this page

  • A Learning Journey
  • More Than Just a Collection of Code
  • Installation

lehuynh: Now Available on CRAN!

R-package
R
R/lehuynh: Personal R package

logo

cran

r-cmd-check

lifecycle

doi


→ GitHub repository
→ Package Website

I am thrilled to announce that my personal R package, lehuynh, is now officially available on CRAN!

lehuynh is a collection of miscellaneous R functions and templates that I’ve found particularly useful over time. It includes:

  • Functions for graphics, data importation, data transformation, and general utilities.
  • Templates for exploratory analysis, Bayesian modeling, and crafting scientific manuscripts.

A Learning Journey

Publishing lehuynh on CRAN has been an incredibly educational experience. Throughout the process, I learned a lot about package development, from structuring the package correctly to ensuring compliance with CRAN’s submission guidelines.

Big thanks to the CRAN team for their invaluable feedback. Their suggestions were instrumental in refining and improving my package. After incorporating their feedback, lehuynh has become much better and more robust.

I also want to acknowledge the numerous references and resources that guided me through the preparation and submission process. These resources saved me a significant amount of time and effort. If you’re considering submitting your own package to CRAN, I highly recommend leveraging the wealth of knowledge available in the R community.

  • Releasing to CRAN, R Packages by Hadley Wickham and Jenny Bryan
  • extrachecks by Davis Vaughan and contributors

More Than Just a Collection of Code

For me, lehuynh is more than just a collection of useful code and templates. It’s a personal project that has allowed me to experiment and learn new things. Whether it’s writing templates or understanding the intricacies of publishing on platforms like CRAN and Zenodo, lehuynh has been my playground for exploration and growth.

Installation

I hope you find lehuynh as useful as I have. You can install the package directly from CRAN using the following command:

install.packages("lehuynh")

To get the latest in-development features, install the development version from GitHub:

if(!requireNamespace("devtools", quietly = TRUE)) {
 install.packages("devtools")
}
devtools::install_github("le-huynh/lehuynh")

Additionally, this package is accessible for download via Zenodo at 10.5281/zenodo.11522849.

For a comprehensive overview of the package’s functions, check out the package website at
le-huynh.github.io/lehuynh/.

Now, my beer is ready. Cheers!

© 2021-2026 Le-Huynh Truc-Ly

 

This website is built with GitHub, R, and Quarto