[Rd] Making a patch

Tony Plate tplate at acm.org
Tue Jul 25 18:10:25 CEST 2006


I've tried to summarize the information in this thread into a Wiki page: 
http://wiki.r-project.org/rwiki/doku.php?id=misc:rpatch

Please make an additions or alterations as appropriate!

-- Tony Plate

Duncan Murdoch wrote:
> On 7/23/2006 6:04 PM, Andrew Robinson wrote:
> 
>>Dear R developers,
>>
>>is there a preferred format or strategy for making a patch to
>>contribute to a package that is maintained by R-core?  Berwin Turlach
>>and I have written a very minor extension to lmeControl to allow it to
>>pass an argument to nlminb for the maximum number of evaluations of
>>the objective function.  I've edited the nlme/R/lme.R and
>>nlme/man/lmeControl.Rd files.  I can diff the files, but the options
>>seem numerous.  I haven't been able to find any hinst on the preferred
>>approach.  Any advice would be welcomed.
> 
> 
> Gregor pointed out a description of the suggested format.  But the 
> strategy is also important:  in order for your patch to be incorporated, 
> you need to convince someone to accept it.  To do that, you should post 
> the following sort of information along with your patch:
> 
>   - what the patch does
>   - what problem it solves
>   - what problems it may cause
> 
> You should also make sure your patch is complete, e.g. if it changes 
> lmeControl, then you should also include a patch to the documentation 
> for lmeControl.
> 
> Duncan Murdoch
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



More information about the R-devel mailing list