(Creation of the proposal) |
m (moved ProposalUpdateRGuidelines to Archive:ProposalUpdateRGuidelines: Merged into Guidelines) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
= Update to the R Guidelines = | |||
== Additional links == | |||
Current: | |||
* [http://www.bioconductor.org/ The bioconductor website] | * [http://www.bioconductor.org/ The bioconductor website] | ||
* [http://cran.r-project.org/ The CRAN website] | * [http://cran.r-project.org/ The CRAN website] | ||
Proposed Change: | |||
* [http://www.bioconductor.org/ The bioconductor website] | * [http://www.bioconductor.org/ The bioconductor website] | ||
* [http://cran.r-project.org/ The CRAN website] | * [http://cran.r-project.org/ The CRAN website] | ||
Line 9: | Line 13: | ||
* [http://www.rforge.net/ The RForge website] | * [http://www.rforge.net/ The RForge website] | ||
== 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: | |||
<pre> | |||
Upstream tarball: Rfoo-0.5-8.tar.gz | |||
Fedora Version: 0.5.8 | |||
</pre> | |||
=== R documentation === | === R documentation === | ||
R documentation is written in Tex files. | 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). | ||
rpmlint | |||
=== R headers === | === 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/ | |||
[[Category:Archived packaging guideline drafts]] | |||
Latest revision as of 19:47, 15 September 2009
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/