R abuild

From Alpine Linux
Revision as of 22:59, 9 May 2016 by Jirutka (talk | contribs) (Created page with "This page is just a workspace for issues and needs regarding to R abuild. == CRAN_mirrors.csv == Alba reported the following issue: <pre> install.packages("ggplot2") --- P...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This page is just a workspace for issues and needs regarding to R abuild.


CRAN_mirrors.csv

Alba reported the following issue:

install.packages("ggplot2")
--- Please select a CRAN mirror for use in this session ---
Warning: failed to download mirrors file (cannot download all files);
using local file '/usr/share/doc/R//CRAN_mirrors.csv'
Error in file(file, "rt") : cannot open the connection
In addition: Warning messages:
1: In download.file(url, destfile = f, quiet = TRUE) :
URL 'https://cran.r-project.org/CRAN_mirrors.csv': status was
'Problem with the SSL CA cert (path? access rights?)'
2: In file(file, "rt") :
cannot open file '/usr/share/doc/R//CRAN_mirrors.csv': No such file
or directory

I can’t reproduce it; when I’ve tried it on fresh Alpine installation, works correctly for me.

It seems that sometimes R needs CRAN_mirrors.csv, but it apparently installs it into docs, so it’s separated in R-doc subpackage…


Plot and X11

For plotting X11 libs and other graphic libs are needed. Quite huge stuff. Maybe we should provide two packages, something like with OpenJDK – R as a full-blown package with all dependencies and R-base as a lightweight package without X11?


Installing R packages with C extensions

Some R packages (like ggplot2) contains C extensions, so it needs header files, make and probably the whole C build environment to build them.