Re: [R-pkg-devel] NOTE: Error while checking: invalid 'envir'-argument

2015-07-09 Thread Alexandra Kuznetsova
I am checking the sensR package https://r-forge.r-project.org/R/?group_id=944 The NOTE is the following one: * checking R code for possible problems ... NOTE AnotA: Error while checking: ugyldigt 'envir'-argument clls: Error while checking: ugyldigt 'envir'-argument discrimR: Error while checking:

Re: [R-pkg-devel] NOTE: Error while checking: invalid 'envir'-argument

2015-07-09 Thread Martin Maechler
> peter dalgaard > on Thu, 9 Jul 2015 21:20:54 +0200 writes: >> On 09 Jul 2015, at 20:56 , Martin Maechler >> wrote: >> >> >>> Alexandra, I got the same error for this line of code: >> >>> e <- new.env() data("mydataset", envir=e) >> >>> As you

Re: [R-pkg-devel] NOTE: Error while checking: invalid 'envir'-argument

2015-07-09 Thread peter dalgaard
> On 09 Jul 2015, at 20:56 , Martin Maechler wrote: > > >> Alexandra, >> I got the same error for this line of code: > >> e <- new.env() >> data("mydataset", envir=e) > >> As you said it doesn't appear for R 3.2.1. I don't know why that should >> be wrong and would be interested to know, but

Re: [R-pkg-devel] NOTE: Error while checking: invalid 'envir'-argument

2015-07-09 Thread Martin Maechler
> Alexandra, > I got the same error for this line of code: > e <- new.env() > data("mydataset", envir=e) > As you said it doesn't appear for R 3.2.1. I don't know why that should > be wrong and would be interested to know, but my hack is this: > e <- new.env() > do.call("data", list("mydataset

Re: [R-pkg-devel] NOTE: Error while checking: invalid 'envir'-argument

2015-07-09 Thread Hana Sevcikova
Alexandra, I got the same error for this line of code: e <- new.env() data("mydataset", envir=e) As you said it doesn't appear for R 3.2.1. I don't know why that should be wrong and would be interested to know, but my hack is this: e <- new.env() do.call("data", list("mydataset", envir=e))

Re: [R-pkg-devel] NOTE: Error while checking: invalid 'envir'-argument

2015-07-09 Thread peter dalgaard
Hi Alexandra, Is it possible to narrow down a bit more where the message comes from? That error message doesn't give much of a clue. -pd > On 09 Jul 2015, at 15:07 , Alexandra Kuznetsova wrote: > > Hi all, > > I am checking the package with the -as-cran option using R Under development > (u

[R-pkg-devel] NOTE: Error while checking: invalid 'envir'-argument

2015-07-09 Thread Alexandra Kuznetsova
Hi all, I am checking the package with the -as-cran option using R Under development (unstable) (2015-07-08 r68642). I get the following NOTE: Error while checking: invalid 'envir'-argument. Does anyone know how to fix that NOTE? I do not get it with the R 2.3.1 Alexandra [[alternat