Skip to content

hutils

2.0.0Package record

Miscellaneous R Functions and Aliases

8packages depend
32.1Kdownloads / year
96.7%test coverage
13/13flavors OK

Overview

About

Provides utility functions for, and drawing on, the 'data.table' package. The package also collates useful miscellaneous functions extending base R not available elsewhere. The name is a portmanteau of 'utils' and the author.

Changes in 2.0.0
  • dplyr::if_else is no longer slower than if_else.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.8 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.0.0
READMEYes · 191 wordsVignettesYes · 1 · evaluation depends on the environmentNEWSYes · 100% structured · mentions 2.0.0Citation fileNoWebsiteYes · pkgdown
Help pages
53includes a package overview page
Examples that run
93%27 run in a plain check (2 of them under a condition) · 2 never run
Exported functions with examples
57%
Documented parameters
80%
Return-value docs
76%
Help pages citing references
0%
Vignettes (1)

Downloads

32.1K
CRAN downloads in the past year
Rank #3,020 · ~88/day · ~2.7K/mo
Daily download trend is not available in this view yet.
1.3K30 days
4.4K90 days
32.1K1 year
Compare downloads with other packages →
Also on189 r2u4 autocran86 c2d4u

Repository

10Stars
3Forks
1Open issues
0Open PRs
8Releases
441Commits
3Commit identities
441 commits · Last activity 2026-03-30 · Default branch at 2.0.1, ahead of CRAN 2.0.0 (checked 2026-10-21)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
3
Median days to close, 50 most recently updated closed PRs
0
PracticesBeta

9 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/hughparsonage/hutils on 2026-10-21.

Continuous integration (2)
Travis CI (config file)AppVeyor
Docs source (2)
pkgdown

GitHub Pages site last deployed 2026-03-30

Reproducibility and dev environment (1)
data-raw/
CRAN release process (3)
cran-comments.mdrevdep/CRAN-SUBMISSION
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
23 external dependencies (excludes base and recommended)

Installing hutils adds 3 packages (3 with compiled code, 6.0 MB of source tarballs). Heaviest: data.table 5.7 MB, magrittr 275 KB, fastmatch 18 KB.

Depends (1)
R >= 3.3.0
Imports (6)
data.tablemagrittrstatsutilsfastmatchgrDevices
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
8direct
0indirect
Imports 8
Depends, Imports or LinkingTo, most downloaded first

People & History

People (3)
Author, Maintainer since 0.1.2 (2017)
Contributor · added in 1.1.0
Contributor · added in 1.1.0
Releases (15)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.0.0Latest
    record
    2026-01-18 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 1.8.1
    record
    2022-04-13 · diff ↗ ·
    added 3 exports
    fst_columns, fst_nrow, seq_nrow
  • 1.7.1
    record
    2021-07-22 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.6.0
    record
    2020-11-16 · diff ↗ ·
    added 8 exports
    bearing, compass2bearing, easterly_component, goto_pattern_in, northerly_component, prohibit_unequal_length_vectors, prohibit_vector_recycling, prohibit_vector_recycling.MAXLENGTH
  • R
    R 4.0.0 released · 2020-04-24
  • 1.5.1
    record
    2019-10-05 · diff ↗
  • 1.5.0
    record
    2019-05-31 · diff ↗ ·
    added 1 export
    provide.file
  • R
    R 3.6.0 released · 2019-04-26
  • 1.4.0
    record
    2019-03-09 · diff ↗ ·
    added 7 exports
    %<->%, Mode, average_bearing, average_bearing_n, dir2, replace_pattern_in, samp
  • 1.3.0
    record
    2018-11-01 · diff ↗ ·
    added 6 exports
    longest_prefix, longest_suffix, mutate_ntile, trim_common_affixes, weighted_ntile, weighted_quantile
Show 9 earlier eventsHide 9 earlier events
  • 1.2.0
    record
    2018-08-20 · diff ↗ ·
    added 10 exports
    RQ, Switch, XOR, ahull, all_same_sign, any_grepl, drop_grep, isAttached, mean_na, selector
  • 1.1.0
    record
    2018-05-12 · diff ↗ ·
    added 3 exports
    auc, dev_copy2a4, select_grep
  • R
    R 3.5.0 released · 2018-04-23
  • 1.0.0
    record
    2018-03-05 · diff ↗ ·
    removed 1 export
    print_transpose_data.table
    added 1 export
    %notchin%
  • 0.10.0
    record
    2018-01-24 · diff ↗ ·
    added 7 exports
    %implies%, drop_constant_cols, generate_LaTeX_manual, implies, pow, print_transpose_data.table, report_error
  • 0.9.0
    record
    2017-10-22 · diff ↗ ·
    added 1 export
    find_pattern_in
  • 0.8.0
    record
    2017-09-12 · diff ↗ ·
    added 15 exports
    %ein%, %enotin%, AND, NEITHER, NOR, OR, coalesce, drop_colr, if_else, neither, ngrep, nor, select_which, set_colsuborder, weight2rows
  • 0.1.2
    record
    2017-07-09
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-07-09
Total releases
15 / 9 yrs
License
GPL-3 OSI
Minimum R
≥ 3.3.0
Download size
123 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("hutils")
Parsonage, H., Frasco, M., & Hamner, B. (2026). hutils: Miscellaneous R Functions and Aliases (Version 2.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.hutils

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for hutils version 2.0.0 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy