An R package of miscellaneous utility functions