From karl at huftis.org  Tue Nov 20 11:30:27 2007
From: karl at huftis.org (karl at huftis.org)
Date: Tue, 20 Nov 2007 11:30:27 +0100 (CET)
Subject: [Rd] (PR#10437) segfault on functions with 'source' attribute
Message-ID: <20071120103028.2A510283416B@mail.pubhealth.ku.dk>

For the record: The reason I used attr(myfun, "source") = FALSE, is that I 
misread the example 'Tidying R Code' in 'Writing R Extensions', which calls 
for attr(myfun, "source") = NULL.

Somehow setting 'source' to FALSE seems more natural to me than 
setting it to NULL.

ripley at stats.ox.ac.uk:

> I am not sure why you would want to do that, but the C code does assume
> source attributes were put there by R, and changing tests from !isNull to
> isString in a few places will fix that.

-- 
Karl Ove Hufthammer



[Rd] (PR#10437) segfault on functions with 'source' attribute
karl at huftis.org