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 far

[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 due

Re: [Rd] error unserializing ascii format (v2 or v3)

2018-11-12 Thread Tomas Kalibera
Thanks, fixed in R-devel and R-patched. The problem was only in unserializing of raw vectors serialized in ASCII, the format is not affected. Old serialized ASCII files created by R 3.5 or earlier can be read in R-patched and re-saved in binary format, which can in turn be read in R 3.5 and ea