Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567488 - dev-lang/R-3.2.2 can't read compressed databases in /usr/share/doc/R-3.2.2
Summary: dev-lang/R-3.2.2 can't read compressed databases in /usr/share/doc/R-3.2.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Denis Dupeyron (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-03 19:04 UTC by David Owen
Modified: 2016-05-08 16:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch ebuild to not compress databases (R-databases.patch,383 bytes, patch)
2015-12-03 19:04 UTC, David Owen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Owen 2015-12-03 19:04:02 UTC
Created attachment 418512 [details, diff]
Patch ebuild to not compress databases

The dev-lang/R-3.2.2 ebuild compresses everthing in /usr/share/docs/R-3.2.2 except NEWS.rds.  This includes databases for mirrors and keywords.  R does not read the bzip2-compressed databases.  They should be left uncompressed.

In R, try the following:

> install.packages("anything") # Fails because can't read CRAN mirrors database
> ??anything # Fails because can't read KEYWORDS.db database

Attached is a patch which fixes the issue for me.
Comment 1 Denis Dupeyron (RETIRED) gentoo-dev 2016-05-08 16:08:56 UTC
I couldn't reproduce your issue but your patch made sense and looked innocent enough, so I rolled it into 3.3.0. Thanks.