On 15/07/2015 9:43 AM, Dirk Eddelbuettel wrote:
>
> On 14 July 2015 at 08:06, Duncan Murdoch wrote:
> | It looks like a bug in codetools. It handles a number of functions
> | specially; data() is one, binomial() is another. I think there are some
> | implicit assumptions in it that stats and uti
On 14 July 2015 at 08:06, Duncan Murdoch wrote:
| It looks like a bug in codetools. It handles a number of functions
| specially; data() is one, binomial() is another. I think there are some
| implicit assumptions in it that stats and utils are on the search path,
| but in the new tests, they ar
tion() data(package="MASS", envir=globalenv())
>>>
>>> all trigger the note when included with the Rcmdr sources:
>>>
>>> * checking R code for possible problems ... NOTE
>>> bar: Error while checking: invalid 'envir' argumen
a(package="MASS", envir=.GlobalEnv)
> >>>>>
> >>>>> baz <- function() data(package="MASS", envir=globalenv())
> >>>>>
> >>>>> all trigger the note when included with the Rcmdr sources:
> >>&
ch [mailto:murdoch.dun...@gmail.com]
>>>> Sent: July-13-15 7:01 PM
>>>> To: John Fox; 'peter dalgaard'
>>>> Cc: r-package-devel@r-project.org
>>>> Subject: Re: [R-pkg-devel] "invalid 'envir' argument" note from R-d
Error while checking: invalid 'envir' argument
>> foo: Error while checking: invalid 'envir' argument
>>
>> The envir argument to data() defaults to .GlobaEnv .
>>
>> I hope this helps,
>> John
>>
>>> -Original Message
ent: July-13-15 7:01 PM
> >> To: John Fox; 'peter dalgaard'
> >> Cc: r-package-devel@r-project.org
> >> Subject: Re: [R-pkg-devel] "invalid 'envir' argument" note from R-devel
> >>
> >> It happened in r68597. In my example, I ha
7:01 PM
> >> To: John Fox; 'peter dalgaard'
> >> Cc: r-package-devel@r-project.org
> >> Subject: Re: [R-pkg-devel] "invalid 'envir' argument" note from R-devel
> >>
> >> It happened in r68597. In my example, I hadn't imported
#x27;envir' argument
>>> baz: Error while checking: invalid 'envir' argument
>>> foo: Error while checking: invalid 'envir' argument
>>>
>>> The envir argument to data() defaults to .GlobaEnv .
>>>
>>> I hope this he
Dear Duncan,
> -Original Message-
> From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com]
> Sent: July-13-15 7:01 PM
> To: John Fox; 'peter dalgaard'
> Cc: r-package-devel@r-project.org
> Subject: Re: [R-pkg-devel] "invalid 'envir' argument&qu
checking: invalid 'envir' argument
>
> The envir argument to data() defaults to .GlobaEnv .
>
> I hope this helps,
> John
>
>> -Original Message-
>> From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com]
>> Sent: July-13-15 6:32 PM
>> T
alid 'envir' argument
The envir argument to data() defaults to .GlobaEnv .
I hope this helps,
John
> -Original Message-
> From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com]
> Sent: July-13-15 6:32 PM
> To: John Fox; 'peter dalgaard'
> Cc: r-package-de
On 13/07/2015 5:23 PM, John Fox wrote:
> Dear Peter,
>
>> -Original Message-
>> From: peter dalgaard [mailto:pda...@gmail.com]
>> Sent: July-13-15 4:52 PM
>> To: John Fox
>> Cc: r-package-devel@r-project.org
>> Subject: Re: [R-pkg-devel] &q
Dear Peter,
> -Original Message-
> From: peter dalgaard [mailto:pda...@gmail.com]
> Sent: July-13-15 4:52 PM
> To: John Fox
> Cc: r-package-devel@r-project.org
> Subject: Re: [R-pkg-devel] "invalid 'envir' argument" note from R-devel
>
>
Yes, there was a similar note from Alexandra Kuznetsova a couple of days ago.
Look unintentional, but it is not easy to spot what triggers it. If someone
could cook up a minimal example, or - maybe easier given the relatively short
timeframe - bisect their way to the exact svn revision that trig
Dear list members,
I'm getting a new note from R-devel that I haven't seen before when checking
the development version of the Rcmdr package:
* checking R code for possible problems ... NOTE
readDataFromPackage: Error while checking: invalid 'envir' argument
This note doesn't app
16 matches
Mail list logo