Bug 231220 - Should be able to install packages into /usr/share/R/library
Should be able to install packages into /usr/share/R/library
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: R (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tom "spot" Callaway
Fedora Extras Quality Assurance
: Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-06 15:12 EST by Orion Poplawski
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-07-26 13:06:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Orion Poplawski 2007-03-06 15:12:04 EST
Many R packages are "noarch" and shoud be installed in /usr/share/R/library. 
Can this be supported?
Comment 1 Tom "spot" Callaway 2007-03-13 15:14:58 EDT
Well, for starters, none of the R packages in Fedora are "noarch". Can you give
me an example of a noarch R package?
Comment 2 Orion Poplawski 2007-03-13 15:48:17 EDT
Well, currently in extras the only candidate I think is R-mAr.  I've also
packaged R-systemfit for local use and was planning on submitting to Fedora when
I noticed this issue.  Spec and source are at
http://www.cora.nwra.com/~orion/fedora.  It seems to make sense to make R-mAr
and R-systemfit noarch and install them in the same location (/usr/share/R or
/usr/lib/R, I don't really care) on i386 and x86_64.  But it seems like R will
only look in /usr/lib/R/library and /usr/lib64/R/library respectively.  This may
be too hard to change, and it definitely should be an upstream thing.
Comment 3 Patrice Dumas 2007-03-13 17:38:05 EDT
Among 56 R packages I packaged as dependencies of 
R-mFilter, 21 seems to be noarch. They are not necessarily
well packaged nor suitable for fedora.

R-car
R-DAAG
R-dynlm
R-Ecdat
R-fCalendar
R-fEcofin
R-its
R-mFilter
R-oz
R-pastecs
R-qcc
R-RColorBrewer
R-RTisean
R-sandwich
R-scatterplot3d
R-sem
R-strucchange
R-systemfit
R-TeachingDemos
R-xtable
R-zoo
Comment 4 Tom "spot" Callaway 2007-03-17 13:38:27 EDT
Added support for /usr/share/R/library to R-2.4.1-4 (for FC-5, FC-6, devel).
Please reopen this bug if noarch packages do not work properly.
Comment 5 Orion Poplawski 2007-03-19 15:49:01 EDT
Another issue we have to consider:

 Currently, R packages do the following in %post/%postun:

cat /usr/lib/R/library/*/CONTENTS > /usr/lib/R/doc/html/search/index.txt

which assumes all packages are in /usr/lib/R/library, and that
/usr/lib/R/doc/html/search/ exists.

Can we also have a /usr/share/R/library/doc/html/search/ directory?  Do we just
move the exitsting one there (and have to update all R packages)?  I'm not
really sure what functionality this provides.

Note You need to log in before you can comment on or make changes to this bug.