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.

Cheers!

PS For now, this package is not on CRAN.

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

source("http://jtilly.io/install_github/install_github.R")
install_github("MichaelChirico/funchir")

News

Reference manual

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

install.packages("funchir")

0.2.0 by Michael Chirico, 6 months ago


https://github.com/MichaelChirico/funchir


Browse source code at https://github.com/cran/funchir


Authors: Michael Chirico


Documentation:   PDF Manual  


GPL (>= 2) license


Imports data.table

Suggests testthat, jsonlite


See at CRAN