R package containing some useful miscellaneous functions