Re: [Rd] readBin should check that its endian argument is a legal value

2019-12-18 Thread Jennifer Lyon
Thank you! Jen On Wed, Dec 18, 2019 at 4:12 AM Tomas Kalibera wrote: > Thank you for reporting this problem, R-devel now has a check in readBin > and writeBin. > > I've identified two CRAN packages with an incorrect value for "endian" > and reported to maintainers, unfortunately in their case t

Re: [Rd] readBin should check that its endian argument is a legal value

2019-12-18 Thread Tomas Kalibera
Thank you for reporting this problem, R-devel now has a check in readBin and writeBin. I've identified two CRAN packages with an incorrect value for "endian" and reported to maintainers, unfortunately in their case the intention was to specify "little". Best Tomas On 11/18/19 11:22 PM, Jenn

[Rd] readBin should check that its endian argument is a legal value

2019-11-18 Thread Jennifer Lyon
I think it would be helpful if readBin checked that its endian argument is a legal value. Why? I was reviewing some of our code and noticed that the author had readBin(..., endian="network") and never having heard of "network", I looked at the man page for readBin, and it hadn't heard of "network"