Re: [Rd] Better cleanup of example session during check

2018-11-12 Thread Duncan Murdoch
On 12/11/2018 8:32 AM, Duncan Murdoch wrote: On 12/11/2018 8:09 AM, Thomas Lin Pedersen wrote: I have a couple of packages (‘fiery’ and ‘reqres') that uses a mock of a rook request for their examples. The mock is an R6 object containing a rawConnection, along with a finalizer that closes this

Re: [Rd] Better cleanup of example session during check

2018-11-12 Thread Duncan Murdoch
On 12/11/2018 8:09 AM, Thomas Lin Pedersen wrote: I have a couple of packages (‘fiery’ and ‘reqres') that uses a mock of a rook request for their examples. The mock is an R6 object containing a rawConnection, along with a finalizer that closes this connection when the object is removed. So

[Rd] Better cleanup of example session during check

2018-11-12 Thread Thomas Lin Pedersen
I have a couple of packages (‘fiery’ and ‘reqres') that uses a mock of a rook request for their examples. The mock is an R6 object containing a rawConnection, along with a finalizer that closes this connection when the object is removed. So far so good. I’ve recently been getting CRAN errors