Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hughparsonage/hutils
Miscellaneous R functions and aliases
https://github.com/hughparsonage/hutils
Last synced: 1 day 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 (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-10T05:18:14.000Z (almost 2 years ago)
- Last Synced: 2024-11-28T19:08:50.014Z (28 days 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
README
[![Travis-CI Build Status](https://travis-ci.org/HughParsonage/hutils.svg?branch=master)](https://travis-ci.org/HughParsonage/hutils)
[![codecov.io](https://codecov.io/github/HughParsonage/hutils/coverage.svg?branch=master)](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).