R abuild: Difference between revisions

From Alpine Linux
(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...")
 
(Blanked the page)
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
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")
--- 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
</pre>
I can’t reproduce it; when I’ve tried it on fresh Alpine installation, [http://haste.fit.cvut.cz/anowopo.sh|it 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.

Revision as of 23:04, 30 May 2016