Skip to content
Back to formatted view

Raw Message

Message-ID: <CABdHhvF1iugQgnd+k1Cau5q2DymJ7pWQ9MSVJ60vpfLveZB4kg@mail.gmail.com>
Date: 2019-09-30T20:16:50Z
From: Hadley Wickham
Subject: [R-pkg-devel] Require <package>-package.Rd?
In-Reply-To: <438D2EC9EAFE5946B2D5864670EA468E01CC77C076@MBXP01.ds.man.ac.uk>

On Tue, Sep 24, 2019 at 8:07 AM Georgi Boshnakov
<georgi.boshnakov at manchester.ac.uk> wrote:
>
> It is worth noting that
>
> help(package="<package>")
>
> shows  file <package>-package.Rd, while
>
> help(<package>)
>
> shows topic "package".
>
> Topic <package>-package.Rd is also printed at the top of the pdf manual, while package.Rd follows the alphabetical ordering of the remaining topics. It is unfortunate that Hadley Wickham's tools (at least 'pkgdown') recommend and use <package>.Rd, instead of <package>-package.Rd as overall package description.

I'm not sure what lead you to that believe, but we definitely support
(and have supported for years) package?<package>.  See, e.g.
https://usethis.r-lib.org/reference/use_package_doc.html

Hadley

-- 
http://hadley.nz