Skip to content

`redisConnect` errors out when integer port is used. #16

Closed
s-u opened this Issue Oct 14, 2013 · 1 comment

2 participants

@s-u
s-u commented Oct 14, 2013

redisConnect refuses to use integer ports (e.g. redisConnect("localhost", 6379L) will throw an error). The culprit is

stopifnot(class(port) == "numeric")

which should read

stopifnot(is.numeric(port))

(integers are numeric, but they have the class "integer").

@bwlewis
Owner
bwlewis commented Oct 14, 2013

Thanks, should be fixed in commit

98bdaad

along with a few similar type checking cases.

@bwlewis bwlewis closed this Oct 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.