Convenience Functions by Michael Chirico

YACFP (Yet Another Convenience Function Package). get_age() is a fast & accurate tool for measuring fractional years between two dates. abbr_to_colClass() is a much more concise way of feeding many types to a colClass argument in a data reader. stale_package_check() tries to identify any library() calls to unused packages.

Having tired of constantly declaring a bunch of the same functions at the head of my code over and over, I've finally embraced the build-your-own-package approach to manage all of these functions in a more modular & less verbose way.

Feel free to poke around & pick and choose these functions for your own use. It's hard for me to call them mine since most of them are the direct result of something that came out of StackOverflow anyway.

I doubt anyone is reading this, but if so, please feel free to give feedback or offer your own notes on functions you use constantly that smooth your R coding experience.


PS For now, this package is not on CRAN.

To install, use Jan Tilly's minimalist GitHub installer via:



Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.2.0 by Michael Chirico, 2 years ago

Browse source code at

Authors: Michael Chirico

Documentation:   PDF Manual  

GPL (>= 2) license

Imports data.table

Suggests testthat, jsonlite

See at CRAN