CRAN Package Check Results for Package pbdZMQ

Last updated on 2018-08-18 07:48:26 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3-3 5.26 30.49 35.75 OK
r-devel-linux-x86_64-debian-gcc 0.3-3 3.98 25.27 29.25 OK
r-devel-linux-x86_64-fedora-clang 0.3-3 43.36 OK
r-devel-linux-x86_64-fedora-gcc 0.3-3 49.82 ERROR
r-devel-windows-ix86+x86_64 0.3-3 601.00 92.00 693.00 OK
r-patched-linux-x86_64 0.3-3 4.82 26.57 31.39 OK
r-patched-solaris-x86 0.3-3 62.70 OK
r-release-linux-x86_64 0.3-3 4.64 28.32 32.96 OK
r-release-windows-ix86+x86_64 0.3-3 437.00 90.00 527.00 OK
r-release-osx-x86_64 0.3-3 OK
r-oldrel-windows-ix86+x86_64 0.3-3 432.00 84.00 516.00 OK
r-oldrel-osx-x86_64 0.3-3 OK

Check Details

Version: 0.3-3
Check: tests
Result: ERROR
     Running ‘address.R’
     Running ‘ports.R’
     Running ‘send_recv.R’ [0m/90m]
    Running the tests in ‘tests/send_recv.R’ failed.
    Complete output:
     > suppressPackageStartupMessages(library(pbdZMQ))
     >
     > ### zmq interface
     >
     > # Server
     > server_context = zmq.ctx.new()
     > server_socket = zmq.socket(server_context, .pbd_env$ZMQ.ST$REP)
     > zmq.bind(server_socket, "tcp://*:55555")
     >
     > # Client
     > client_context = zmq.ctx.new()
     > client_socket = zmq.socket(client_context, .pbd_env$ZMQ.ST$REQ)
     > zmq.connect(client_socket, "tcp://localhost:55555")
     >
     > tester = function(indata)
     + {
     + zmq.msg.send(indata, client_socket)
     + c2s <- zmq.msg.recv(server_socket)
     + stopifnot(all.equal(c2s, indata))
     +
     + zmq.send(server_socket, "ok")
     + s2c <- zmq.recv(client_socket)
     + stopifnot(all.equal(s2c$buf, "ok"))
     + }
     >
     > tester("test")
     > tester(1:5)
     >
     > zmq.close(server_socket)
     > zmq.close(client_socket)
     >
     >
     >
     > ### rzmq interface
     >
     > # Server
     > server_context = init.context()
     > server_socket = init.socket(server_context, "ZMQ_REP")
     > bind.socket(server_socket, "tcp://*:55555")
     R_zmq_bind errno: 98 strerror: Address already in use
     Warning message:
     In zmq.bind(socket, address) : zmq.bind fails, tcp://*:55555
     >
     > # Client
     > client_context = init.context()
     > client_socket = init.socket(client_context, "ZMQ_REQ")
     > connect.socket(client_socket, "tcp://localhost:55555")
     >
     > tester_rzmq = function(indata)
     + {
     + send.socket(client_socket, indata)
     + c2s <- receive.socket(server_socket)
     + stopifnot(all.equal(c2s, indata))
     +
     + send.socket(server_socket, "ok")
     + s2c <- receive.socket(client_socket)
     + stopifnot(all.equal(s2c, "ok"))
     + }
     >
     > tester_rzmq("test")
     R_zmq_msg_recv errno: 4 strerror: Interrupted system call
     Error in unserialize(rmsg) : read error
     Calls: tester_rzmq -> receive.socket -> zmq.msg.recv -> unserialize
     Execution halted
     R_zmq_ctx_destroy errno: 4 strerror: Interrupted system call
Flavor: r-devel-linux-x86_64-fedora-gcc