Skip to content

Instantly share code, notes, and snippets.

View jjesusfilho's full-sized avatar
🏠
Working from home

José de Jesus Filho jjesusfilho

🏠
Working from home
View GitHub Profile
@Choens
Choens / RandomFlowerDay.R
Created November 8, 2010 21:19
Creates a vector of random dates. On these dates, you should buy someone flowers.
# ==============================================================================
# RandomFlowerDay.R
# Calculates 12 "random" days/year, to buy flowers for your special someone.
# Output is in mm/dd/yy
#
# Dependencies - Uses awk to pre-process system information. Should work on
# andy POSIX compatible system. Requires r-base only.
#
# Includes a set of tests. I'm still learning how to properly build Unit Tests
# in R. In the meantime, these will do the trick nicely.