https://github.com/HughParsonage/hutils
Miscellaneous R functions and aliases
https://github.com/HughParsonage/hutils
Last synced: 4 months ago
JSON representation
Miscellaneous R functions and aliases
- Host: GitHub
- URL: https://github.com/HughParsonage/hutils
- Owner: HughParsonage
- Created: 2017-04-14T13:09:05.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-02-10T05:18:14.000Z (about 2 years ago)
- Last Synced: 2024-11-28T19:08:50.014Z (5 months ago)
- Language: R
- Size: 891 KB
- Stars: 12
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - HughParsonage/hutils - Miscellaneous R functions and aliases (R)
README
[](https://travis-ci.org/HughParsonage/hutils)
[](https://codecov.io/github/HughParsonage/hutils?branch=master)# hutils
Miscellaneous R functions and aliasesMy name is Hugh and this is a package of functions I often put in `R/utils.s`.
Hence, `hutils`.### Scope
The package attempts to provide lightweight, fast, and stable functions for
common operations.By **lightweight**, I mean in terms of dependencies: we import
`package:data.table` and `package:fastmatch` which do require compilation, but
in C. Since so many operations handle data frames, `data.table` seemed
worthwhile -- and besides its compile time is not too onerous.
Otherwise, all dependencies do not require compilation. (I also try to minimize
the cardinality of package imports, but it's mostly the compile time I'm
focused on.)By **fast**, I mean essentially as fast as possible without using compilation.
By **stable**, I mean that unit tests should not change unless the major version also
changes. To make this completely transparent, tests include the version of their
introduction and are guaranteed to not be modified (not even in the sense of
adding extra, independent tests) while the major version is 1. Tests that do not
include the version in their filename may be modified from version to version
(though this will be avoided).