id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
29471 Failing doctest in R interface due to missing lattice library gh-kliem "During automated testing with GitHub actions we get the following error on many debian and ubuntu distros:
{{{
sage -t src/sage/interfaces/r.py
**********************************************************************
File ""src/sage/interfaces/r.py"", line 1318, in sage.interfaces.r.R.plot
Failed example:
r.library(""lattice"")
Exception raised:
Traceback (most recent call last):
File ""/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py"", line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File ""/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py"", line 1123, in compile_and_execute
exec(compiled, globs)
File """", line 1, in
r.library(""lattice"")
File ""/sage/local/lib/python2.7/site-packages/sage/interfaces/r.py"", line 863, in library
raise ImportError(""R library {} not installed"".format(library_name))
ImportError: R library lattice not installed
}}}
see e.g. [https://github.com/mkoeppe/sage/runs/542655815].
We fix this by adding the package `r-cran-lattice` to `build/pkgs/r/distros/debian.txt`.
In general this is expected behavior. If you skip the recommended packages of R (on your system) then your R interface in sage will not have all features. The error message is meaningful and the user should know what to do about it." defect closed major sage-9.1 packages: standard fixed R, spkg-configure, lattice library tmonteil fbissey isuruf charpent embray dimpase Jonathan Kliem Matthias Koeppe N/A 65a31019a4af6a39b89ad903b378fa19ea303edb 65a31019a4af6a39b89ad903b378fa19ea303edb