[Rd] as-cran issue ==> set _R_CHECK_LENGTH_1_* settings!

Iñaki Ucar |uc@r @end|ng |rom |edor@project@org
Wed Jan 15 10:59:46 CET 2020


A bit off-topic, but...

On Wed, 15 Jan 2020 at 05:45, Abby Spurdle <spurdle.a using gmail.com> wrote:
>
> > Which version of Fedora are you on?
>
> I've got Fedora 31.
> I just checked, and R 3.6.2 is available now.

R 3.6.2 was submitted a month ago for testing and reached stable 19
days ago [1]. At any time, you can see which version is available in
stable (updates repo) and in testing for all supported Fedora and EPEL
versions in [2].

> Progress...
> ...however, there's another problem.
>
> From the dependencies:
> R-java                   x86_64 3.6.2-1.fc31           updates  10 k
> R-java-devel             x86_64 3.6.2-1.fc31           updates 9.9 k
> java-1.8.0-openjdk       x86_64 1:1.8.0.232.b09-0.fc31 updates 281 k
> java-1.8.0-openjdk-devel x86_64 1:1.8.0.232.b09-0.fc31 updates 9.3 M
> java-1.8.0-openjdk-headless
>                          x86_64 1:1.8.0.232.b09-0.fc31 updates  32 M
>
> So, Linux's R (or at least Fedora's R) is dependent on Java.
> -> Bad idea...

(Not so) fresh news: R officially supports Java [3], and many packages
on CRAN use Java (at least 170 by my count). So if you simply install
"R", you are requesting a *full* R installation, which of course
includes Java. However, if you don't want Java nor any of these
packages, R-core and R-core-devel do not depend on Java, as Ralf
pointed out.

> I'm using OpenJ9, so I can't install R like this without causing
> significant problems.
> (But please someone correct me if I'm wrong).

Note though that the R-java bits do not depend on any specific version
of Java. Several versions of Java can coexist, and then you can switch
between them using alternatives [4].

[1] https://bodhi.fedoraproject.org/updates/FEDORA-2019-3d6f517d22
[2] https://src.fedoraproject.org/rpms/R
[3] https://cran.r-project.org/doc/manuals/r-devel/R-admin.html#Java-support
[4] https://fedoraproject.org/wiki/Java

-- 
Iñaki Úcar



More information about the R-devel mailing list