On Sun, Jun 19, 2016 at 2:41 PM, Luigi Baldoni
Detlef Steuer-2 wrote
Am Sun, 19 Jun 2016 17:47:07 +0200 schrieb "Luigi Baldoni" <
aloisio@
>:
Hello, I've recently had the need of some R extensions, so I packaged a few, but I couldn't find any SUSE guideline.
Most of the ones I found are in devel:languages:R:CRAN-packages and they seem to be Fedora-related, but they hardly work. Is devel:languages:R:released the correct staging project for the ones that build?
I would think so. (owner of d:l:R:* speaking) What do you miss?
Well, I submitted the ones I was missing:)
I'm confused about the following:
what is the official path for noarch extensions? If I use %{_datadir}/R/library nothing detects its contents unless set via R_LIBS. Should this variable be set somewhere in the R global environment?
There is only a single path for all R libraries, %{_rlibdir}/R/library
Why so many packages have DESCRIPTION as %doc when it's apparently essential for it to be in %{rlibdir}/%{packname} ?
Because the DESCRIPTION file is a %doc and we want to categorize it appropriately. Also R libraries are "self contained" which is the reason the docs reside in %{rlibdir}/%{packname} and not in %{_defaultdocdir}/%{name}.
In regard to versioning, since "-" is an illegal character, should "_" be used in its place? Or is "." better?
Nearly all the CRAN packages were created with R2spec, https://fedoraproject.org/wiki/Packaging:R?rd=Packaging/R, which substitutes "-" with "." per Fedora's versioning standard.
-- View this message in context: http://opensuse.14.x6.nabble.com/Subj-Packaging-R-extensions-tp5066428p50664... Sent from the opensuse-packaging mailing list archive at Nabble.com. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org