R abuild: Difference between revisions

From Alpine Linux
No edit summary
(add deletion request)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
This page is just a workspace for issues and needs regarding to R abuild.
{{Delete|This page is completely unused and therefor can be deleted.}}
 
 
== 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.
 
 
== Missing depends_dev ==
 
I forgot to add depends_dev. However, I don’t know how to find what exactly are dev dependencies of R. The same as makedepends?

Latest revision as of 01:11, 25 August 2023

This material is proposed for deletion ...

This page is completely unused and therefor can be deleted. (Discuss)
Make sure no other pages link here and check the page's history before deleting.