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

2015-07-09 Thread Alexandra Kuznetsova
codetools_0.2-11 [10] splines_3.3.0 grid_3.3.0numDeriv_2014.2-1 [13] lattice_0.20-31 Alexandra From: Martin Maechler [maech...@stat.math.ethz.ch] Sent: Thursday, July 09, 2015 8:56 PM To: Hana Sevcikova Cc: Alexandra Kuznetsova; r-package

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