On Thu, 1 Nov 2018 at 05:05, Elliott Sales de Andrade
<quantum.analyst(a)gmail.com> wrote:
Basically anything under %{rlibdir}%{packname} is needed and nothing appears elsewhere.
If we didn't need to mark doc and license files, we could have just specified that
top-level directory. The hard part about that is the naming is pretty inconsistent.
Because CRAN disallows providing the full license text in LICENSE, upstreams that want to
follow the terms of the license will put it in a separate file and the name is never the
same.
This is not correct. The naming is very consistent and it's clearly
specified in the "Writing R Extensions" manual (section 1.1 Package
structure). Most licenses (such as GPL) must not be bundled in the
sources. Some of them (such as MIT) require a file with the year and
the name of the copyright holders, and this file must be called
LICENSE or LICENCE.
If there are other copyright holders different from the authors, and
in general if the authoring information is too complex, files AUTHORS
and COPYRIGHTS may be present.
Anyway, the presence of these files must be specified in the
DESCRIPTION file (LICENSE/LICENCE -> License field; AUTHORS -> Author
field; COPYRIGHTS -> Copyright field), see, e.g., the XML and bookdown
packages.
--
Iñaki Ucar