Skip to content
Prev 3030 / 12125 Next

[R-pkg-devel] New test in R-devel causes existing packages to fail: "Error: connections left open"

My advise:

Apparently you want to have communication via sockets to scala.

So there should be a function that creates the connction and one tha 
closes the connection.
Comparable to starting some parallel cluster and stopping it again.

In the meantime, you can allow for all sorts of communication.

So that's fine.

Then in your examples, simply design them to be standalone, i.e. in 
*your* examples always start the connection and stop it again at the end 
of one examples block, i.e. the exampels defined in one Rd file.

Best,
Uwe Ligges
On 20.08.2018 02:11, Duncan Murdoch wrote: