Skip to content

hutilscpp

Miscellaneous Functions in C++

v0.10.10 · Mar 20, 2025 · GPL-2

Description

Provides utility functions that are simply, frequently used, but may require higher performance that what can be obtained from base R. Incidentally provides support for 'reverse geocoding', such as matching a point with its nearest neighbour in another array. Used as a complement to package 'hutils' by sacrificing compilation or installation time for higher running speeds. The name is a portmanteau of the author and 'Rcpp'.

Downloads

CRAN

518

Last 30 days

7589th

1.1K

Last 90 days

10.2K

Last year

Trend: +86.3% (30d vs prior 30d)

r2u CRAN

24

Last 30 days

114

Last 90 days

416

Last year

Trend: -40% (30d vs prior 30d)

autoCRAN

2

Last 7 days

15

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Line coverage

Expression

Tests / Examples

Functions

498 61 exported

Complexity

4.3 avg / 53 max

Call network

498 nodes / 647 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

17,258

Files

245

Compiled share

67.6%

Has compiled src

Yes

Language breakdown

R 4,007 (23.2%)C/C++/src 11,671 (67.6%)Tests 14 (0.1%)Docs 1,566 (9.1%)

API

Exported functions

61

Internal functions

95

Recent export changes

v0.9.0+13 COALESCE0, Comma, ModeC +10 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

70.3%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.3.0

System requirements

C++ standard

License

GPL-2

License flags

SPDX valid, OSI approved

History

Versions

21

First release

2019-02-03

Latest release

2025-03-20

Avg cadence

57 days

Cold removal rate

100%

Dep drift

4

LOC over versions

v0.1.0: 6,420 LOCv0.2.0: 9,596 LOCv0.3.0: 10,381 LOCv0.5.0: 77,871 LOCv0.5.1: 80,567 LOCv0.5.2: 80,616 LOCv0.7.1: 80,642 LOCv0.7.2: 80,675 LOCv0.8.0: 80,710 LOCv0.8.1: 13,933 LOCv0.9.0: 16,173 LOCv0.9.1: 16,250 LOCv0.9.2: 16,631 LOCv0.9.3: 16,632 LOCv0.10.2: 16,871 LOCv0.10.4: 17,093 LOCv0.10.5: 17,182 LOCv0.10.6: 17,185 LOCv0.10.7: 17,183 LOCv0.10.8: 17,186 LOCv0.10.10: 17,258 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (3)

suggests

Dependency Network

Dependencies Reverse dependencies data.table hutils magrittr grattan healthyAddress hutils hutilscpp

Version History

22 tracked
new 0.10.10 Mar 10, 2026
updated 0.10.10 ← 0.10.8 diff Mar 19, 2025
updated 0.10.8 ← 0.10.7 diff Mar 5, 2025
updated 0.10.7 ← 0.10.6 diff Jan 7, 2025
updated 0.10.6 ← 0.10.5 diff Nov 3, 2024
updated 0.10.5 ← 0.10.4 diff Jul 20, 2024
updated 0.10.4 ← 0.10.2 diff Dec 3, 2023
updated 0.10.2 ← 0.9.3 diff Oct 10, 2023
updated 0.9.3 ← 0.9.2 diff Oct 6, 2022
updated 0.9.2 ← 0.9.1 diff Sep 28, 2022
updated 0.9.1 ← 0.9.0 diff Apr 16, 2022
updated 0.9.0 ← 0.8.1 diff Apr 11, 2022
updated 0.8.1 ← 0.8.0 diff Sep 5, 2021
updated 0.8.0 ← 0.7.2 diff Jul 23, 2021
updated 0.7.2 ← 0.7.1 diff Jun 13, 2021