Utility functions useful when programming and developing R packages.