[Rd] initFields() method no longer coerces arguments in R-devel

2011-08-05 Thread Jon Clayden
Dear all, I've just had a package update bounced from CRAN because of a recent change in R-devel which seems to affect the behaviour of the initFields() reference class method. (The change must be very recent because I tested the package on a week-old build of R-devel.) It seems that the method

Re: [Rd] initFields() method no longer coerces arguments in R-devel

2011-08-05 Thread Simon Urbanek
It's worth actually reading the list you post to ... http://r.789695.n4.nabble.com/Reference-classes-assignments-to-fields-td3708168.html On Aug 5, 2011, at 6:41 AM, Jon Clayden wrote: Dear all, I've just had a package update bounced from CRAN because of a recent change in R-devel which

Re: [Rd] initFields() method no longer coerces arguments in R-devel

2011-08-05 Thread John Chambers
There is also an item in the NEWS file: Field assignments in reference classes are now consistent with slots in S4 classes: the assigned value must come from the declared class (if any) for the field or from a subclass. On 8/5/11 7:24 AM, Simon Urbanek wrote: It's worth actually reading

Re: [Rd] initFields() method no longer coerces arguments in R-devel

2011-08-05 Thread Jon Clayden
OK, apologies - on both fronts I obviously searched on the wrong terms. Sorry to waste your time. Jon On 5 August 2011 18:22, John Chambers j...@r-project.org wrote: There is also an item in the NEWS file:    Field assignments in reference classes are now consistent with slots in S4