Skip to content
Back to formatted view

Raw Message

Message-ID: <CABFfbXuKf5hNay4vAYx1LD6gmkzRYOsr+3a0JNjsiw2xoZimxQ@mail.gmail.com>
Date: 2021-03-09T12:25:41Z
From: Jeroen Ooms
Subject: R.css missing in Fedora R-core rpm

When installing an R package from source on Fedora using the standard
R-core rpm, we always get a warning at the end because of a missing
css file /usr/share/doc/R/html/R.css:

** byte-compile and prepare package for lazy loading
** help
*** installing help indices
Error in file.copy(file.path(R.home("doc"), "html", "R.css"), outman) :
  (converted from warning) problem copying /usr/share/doc/R/html/R.css
to /usr/lib64/R/library/00LOCK-systemfonts/00new/systemfonts/html/R.css:
No such file or directory

But when I try to install the missing file, yum says it is already installed:

  yum install /usr/share/doc/R/html/R.css
  ## Package R-core-4.0.3-1.fc32.x86_64 is already installed.

However it does not actually exist. Perhaps the rpm could make a copy
or symlink from /usr/lib64/R/library/base/html/R.css