From Fedora Project Wiki

Revision as of 19:47, 15 September 2009 by Toshio (talk | contribs) (moved ProposalUpdateRGuidelines to Archive:ProposalUpdateRGuidelines: Merged into Guidelines)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Update to the R Guidelines

Additional links

Current:

Proposed Change:


New Sections

Everything below this text is proposed as new sections for the R Guidelines

R version

Many R packages contain '-' in their version. Usually, the versioning used is a sequence of at least two (and usually three) non-negative integers separated by single '.' or '-' characters.

To be consistent with the versioning system used in Fedora, you should simply replace dashes with dots.

Example:

Upstream tarball: Rfoo-0.5-8.tar.gz
Fedora Version: 0.5.8

R documentation

R documentation is written in Tex files. rpmlint sometimes complains that these Tex files are not utf-8 files, but the encoding is normally specified in the file when needed, so this error is safe to ignore (and you should not try to re-encode the files).

R headers

R packages usually expect to find their header files in %{_libdir}/R/library/*/. rpmlint will complain that these files are misplaced, but this is safe to ignore.

You should still separate these header files into a -devel subpackage.

R2spec

R2spec is an excellent little tool to assist in creating Fedora-compliant packages for R libraries. Using it as a starting point is recommended (but certainly not mandated). More information here : https://fedorahosted.org/r2spec/