Thank you for the feedback, Martin. Of course, deprecating would be a
sensible way to go.
I filed this issue on BugZilla under # 17198.
Florent
On 22 December 2016 at 10:24, Martin Maechler
wrote:
>> Florent Angly
>> on Tue, 20 Dec 2016 13:42:37 +0100 writes:
>
> > Hi all,
>
> Florent Angly
> on Tue, 20 Dec 2016 13:42:37 +0100 writes:
> Hi all,
> I believe there is an issue with passing NULL to the function I().
> class(NULL) # "NULL" (as expected)
> print(NULL) # NULL (as expected)
> is.null(NULL) # TRUE (as expected)
> Ac
Hi all,
I believe there is an issue with passing NULL to the function I().
class(NULL) # "NULL" (as expected)
print(NULL) # NULL (as expected)
is.null(NULL) # TRUE (as expected)
According to the documentation I() should return a copy of its input
with class "AsIs" preprended:
class(I(NULL