Re: [Rd] body(NULL) <- something; ditto formals() -- should not work

2016-03-30 Thread Martin Maechler
> Hervé Pagès > on Tue, 29 Mar 2016 12:19:12 -0700 writes: > Hi, > On 03/07/2016 09:26 AM, Martin Maechler wrote: >> I'm proposing to signal an error (from R >= 3.3.0) in such >> examples -- which do "work" in R 3.2.x and earlier : >> >>> f <- NULL; body(f) <-

[Rd] reg-tests-1a fails with r70391

2016-03-30 Thread Hiroyuki Kawakatsu
Hi, This may be a `transitional' bug but I am reporting a make check fail with R-devel r70391 in reg-tests-1a.Rout. The tail of reg-tests-1a.Rout.fail is > ## prcomp(tol=1e-6) > x <- matrix(runif(30),ncol=10) > s <- prcomp(x, tol=1e-6) > stopifnot(length(s$sdev) == ncol(s$rotation)) Error: length

Re: [Rd] reg-tests-1a fails with r70391

2016-03-30 Thread Martin Maechler
> Hiroyuki Kawakatsu > on Wed, 30 Mar 2016 09:27:16 +0100 writes: > Hi, This may be a `transitional' bug but I am reporting a > make check fail with R-devel r70391 in > reg-tests-1a.Rout. The tail of reg-tests-1a.Rout.fail is >> ## prcomp(tol=1e-6) x <- matrix(runif(3

Re: [Rd] documentation / warning when passing a vector as lower/upper bound in stats::integrate()

2016-03-30 Thread Martin Maechler
> Baptiste Auguie > on Tue, 29 Mar 2016 19:31:02 +1300 writes: > Dear R-dev list, > I wonder if stats::integrate shouldn't warn the user when a numeric vector > of length > 1 is passed as lower or upper bounds. If a vector is passed, > only the first value is used and