[Rd] proposed: minor change to error message

Duncan Murdoch murdoch.duncan at gmail.com
Sat Nov 1 00:03:13 CET 2014


On 31/10/2014, 2:22 PM, Dan Tenenbaum wrote:
> When checking a package (call it "A") that has "Enhances: B" in DESCRIPTION, I get the message:
> 
> Package which this enhances but not available for checking: ‘B’
> 
> Can this be changed to:
> 
> Package which enhances this but not available for checking: ‘B’
> 
> ?
> 
> Because really, B is not enhanced by A, B does not need A at all.
> 
> (Actually, for the same reason, Enhances should be EnhancedBy, but I am not suggesting changing that because I realize that is non-trivial.)

I think you've got it wrong.  Saying Enhances: B is explicitly a claim
that your package A does enhance B.  Read "Writing R Extensions".

Not all claims made in packages are true, but that's a different issue.

Duncan Murdoch



More information about the R-devel mailing list