NEWS | R Documentation |
Add missing alias for ‘RcppRedis-package’ to rhiredis.Rd
.
Remove Suggests: rredis which triggers a NOTE nag as it is only on an ‘Additional_repositories’.
No longer set a C++ compilation standard as the default choices by R are sufficient for the package.
Switch include to Rcpp/Rcpp which signals use of all Rcpp features including Modules.
Thanks to a suggestion by Paul Murrell, the real-time chart demo now uses dev.hold() and.flush() for flicker-free updates.
One function prototype was updated for clang-15
.
GitHub Actions were updated to checkout version 3.
The rredis
package can be installed via the repo listed in
Additional_repositories
; the pubsub.R
test file makes
rredis
optional and conditional; all demos now note that the
optional rredis
package is installable via the drat
listed in
Additional_repositories
.
The fallback-compilation of hiredis
has been forced to
override compilation flags because CRAN knows better than upstream.
The GLOBEX pub/sub example has small updates.
Two simple C++11 features remove needs for BH and
lexical_cast()
(Dirk in #45 addressing #44).
Bryan Lewis is now a coauthor.
Added pub/sub examples for single and multiple Globex symbols.
The included hiredis sources have been updated to release 1.0.2.
Two vignettes have been added to introduce Redis and to described a live
market-monitoring application included in directory pubsub/
.
The UCRT build was updated per a suggestion by Tomas.
The CI setup was updated to use run.sh
from
r-ci (Dirk).
A new function quit
can be used to close a connection
(Dirk).
The windows build was updated to libhiredis 1.0.0, and UCRT support was added (Jeroen in #42).
The package now uses tinytest for unit tests (Dirk in #41).
The configure
setup is more robust with respect to the
C++ setup [CRAN request].
The Travis builds was updated to R 3.5 along with all others (#34).
A new Redis function hexists
was added (Whit Armstrong
in #35).
The hiredis library source is now included, and built on all systems unwilling or unable to provide it (#36).
Added hash functions HDEL, HLEN, HKEYS, and HGETALL (Whit Armstrong in #38).
A new file init.c
was added with calls to
R_registerRoutines()
and R_useDynamicSymbols()
Symbol registration is enabled in useDynLib
Travis CI was updated to using run.sh
The (optional MessagePack) code was updated for MsgPack 2.*
Added support for timeout
constructor argument (PR #14 by
Russell Pierce)
Added new commands exists
, ltrim
, expire
and
pexpire
along with unit tests (PR #16 by Russell
Pierce)
Return NULL
for empty keys in serialized get
for
consistency with lpop
and rpop
(also PR #16 by Russell
Pierce)
Minor corrections to get
code and hget
and
hset
documentation (also PR #16 by Russell Pierce)
Error conditions are now properly forwarded as R errors (PR #22 by Russell Pierce)
Results from Redis commands are now checked for NULL
(PR
#23 by Russell Pierce)
MessagePack encoding can now be used which requires MessagePackage headers of version 1.0 or later; the (optional) RcppMsgPack package can be used.
Added support (including new unit tests) for lpop
,
rpop
, lpush
, rpush
as well as auth
via
augmented constructor (all thanks to PRs #11 and #13 by
Russell Pierce)
Added ping
command and unit test
Another minor fix to unit test setup for rredis.
Minor update to unit test setup for rredis.
No longer list URLs to Redis as automated CRAN tests for URL validity choke on redirects.
Bug fix setting correct return type of zcount
New commands execv
, hset
, hget
,
sadd
, srem
, and smembers
contributed by John
Laing and Whit Armstrong over pull requests #3 and #4.
Now with Windows support thanks to the installation of builds of the hiredis library (created by John Buonagurio) at CRAN / win-builder (thanks to Uwe Ligges)
Added support for new command zcount
Initial CRAN upload