Skip to content

redux

R Bindings to 'hiredis'

v1.1.5 · Sep 1, 2025 · GPL-2

Description

A 'hiredis' wrapper that includes support for transactions, pipelining, blocking subscription, serialisation of all keys and values, 'Redis' error handling with R errors. Includes an automatically generated 'R6' interface to the full 'hiredis' API. Generated functions are faithful to the 'hiredis' documentation while attempting to match R's argument semantics. Serialisation must be explicitly done by the user, but both binary and text-mode serialisation is supported.

Downloads

CRAN

4.3K

Last 30 days

1766th

16.2K

Last 90 days

72.9K

Last year

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

r2u CRAN

28

Last 30 days

171

Last 90 days

598

Last year

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

conda-forge CRAN

85

Last 30 days

302

Last 90 days

2.4K

Last year

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

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

Code

Structure

Lines of code

8,404

Files

89

Compiled share

7.3%

Has compiled src

Yes

Language breakdown

R 2,614 (31.1%)C/C++/src 610 (7.3%)Tests 3,595 (42.8%)Docs 625 (7.4%)Vignettes 960 (11.4%)

API

Exported functions

25

Internal functions

56

Recent export changes

v1.1.0+2 driver_redis_api, storr_redis_api
v1.0.0+23 bin_to_object, format_redis_time, from_redis_hash +20 more

Testing & CI

Has tests

Yes

Test-to-code ratio

1.38

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

0%

\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

50%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.2.0

System requirements

1

C++ standard

License

GPL-2

License flags

SPDX valid, OSI approved

History

Versions

5

First release

2017-05-15

Latest release

2025-09-01

Avg cadence

664 days

Cold removal rate

Dep drift

1

LOC over versions

v1.0.0: 7,994 LOCv1.1.0: 8,178 LOCv1.1.3: 8,512 LOCv1.1.4: 8,296 LOCv1.1.5: 8,404 LOC

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

Reverse Dependencies (9)

imports

Dependency Network

Dependencies Reverse dependencies R6 storr doRedis rush bbotk ipc mlr3fselect mlr3hyperband mlr3mbo mlr3tuning stevedore redux

Version History

6 tracked
new 1.1.5 Mar 10, 2026
updated 1.1.5 ← 1.1.4 diff Aug 31, 2025
updated 1.1.4 ← 1.1.3 diff Nov 29, 2023
updated 1.1.3 ← 1.1.0 diff Jan 11, 2022
updated 1.1.0 ← 1.0.0 diff May 30, 2018
new 1.0.0 May 14, 2017