Re: [Rd] Bug: floating point bug in nclass.FD can cause hist() to crash

2017-05-20 Thread Sietse Brouwer
Hi, all, Sietse wrote: > Floating point errors can cause a data vector to have an ultra-small > inter-quartile range, which causes `grDevices::nclass.FD` to suggest > an absurdly large number of breaks to `graphics::hist(breaks="FD")`. > Because this large float becomes NA when converted to intege

Re: [Rd] stopifnot() does not stop at first non-TRUE argument

2017-05-20 Thread Martin Maechler
> William Dunlap > on Fri, 19 May 2017 09:30:42 -0700 writes: > While you are fiddling with stopifnot(), please consider changing the form > of the error thrown so that it includes the caller's call. The change > would be from something like > stop( <> ) > to

Re: [Rd] test fails when requesting LC_CTYPE

2017-05-20 Thread Martin Maechler
> Kasper Daniel Hansen > on Fri, 19 May 2017 20:09:24 -0400 writes: > I rebuilt R with > export LC_CTYPE=en_US.UTF-8 > and the test still fail. Surprisingly, when I run R from the bin directory > and execute the test code, it runs without error: >> oloc <- Sys.get

Re: [Rd] What to do re 'replacing previous import' errors

2017-05-20 Thread Duncan Murdoch
On 20/05/2017 5:14 AM, Ronald Barry wrote: After looking at a few discussions of this problem online, I can't seem to find a good solution. When running a CHECK on a package I'm working on (which passed all tests a few years ago), I get the following 'significant warning': Warning: replacing pr

[Rd] What to do re 'replacing previous import' errors

2017-05-20 Thread Ronald Barry
After looking at a few discussions of this problem online, I can't seem to find a good solution. When running a CHECK on a package I'm working on (which passed all tests a few years ago), I get the following 'significant warning': Warning: replacing previous import ‘spam::tail’ by ‘utils::tail’ w