[Rd] 2 \alias{obj}

Prof Brian D Ripley ripley@stats.ox.ac.uk
Tue, 11 Apr 2000 14:53:39 +0100 (BST)


On Tue, 11 Apr 2000, Paul Gilbert wrote:

> >> R CMD build does not seems to complain about an alias for the same
> >> object in two different .Rd files. Should that be allowed? I don't see
> >> when it would be legitimate.  (And I didn't intend to do this and would
> >> have expected for a warning.)
> 
> >If you mean in the same package, just installing will object. (As with
> >survreg.old in survival5, Thomas.)
> 
> Ok, thanks. I was just revising documentation and running R CMD build, not
> re-installing. I see now that install gives a warning.

Before the final build, we expect you to have

1) INSTALL-ed successfully
2) run R CMD check
3) run Rd2dvi on the man directory

and I guess this should be in the R-exts manual.

> >If in different packages, no ban!
> 
> Is this considered a problem or are there situations were it really makes sense
> (other than to perpetuate the problem of name space conflicts)?

Well, once upon a time package ts had enhanced versions of some of the 
functions in base, with enhanced docs too, and on S MASS has enhanced
versions of functions in base and survival5, with enhanced docs.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._