#12065: Failing doctest - R installation broken?
-----------------------------+----------------------------------------------
Reporter: flint | Owner: tbd
Type: PLEASE CHANGE | Status: new
Priority: major | Milestone: sage-4.8
Component: packages | Keywords: R, lattice
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
-----------------------------+----------------------------------------------
I'm working with Sage 4.7.2 under Linux 2.6.39-gentoo-[changeset:3 r3].
When I run the doctest
./sage -t devel/sage-main/sage/interfaces/r.py
I obtain the following error message:
sage -t "devel/sage-main/sage/interfaces/r.py"
[[BR]]**********************************************************************[[BR]]File
"/home/flint/sage-4.7.2/devel/sage-main/sage/interfaces/r.py", line
997:[[BR]] sage: r.library("lattice")[[BR]]Exception raised:[[BR]]
Traceback (most recent call last):[[BR]] File
"/home/flint/sage-4.7.2/local/bin/ncadoctest.py", line 1231, in
run_one_test[[BR]] self.run_one_example(test, example, filename,
compileflags)[[BR]] File
"/home/flint/sage-4.7.2/local/bin/sagedoctest.py", line 38, in
run_one_example[[BR]] !OrigDocTestRunner.run_one_example(self,
test, example, filename, compileflags)[[BR]] File
"/home/flint/sage-4.7.2/local/bin/ncadoctest.py", line 1172, in
run_one_example[[BR]] compileflags, 1) in test.globs[[BR]]
File "<doctest !__main!__.example_37![7]>", line 1, in
<module>[[BR]] r.library("lattice")###line 997:[[BR]] sage:
r.library("lattice")[[BR]] File
"/home/flint/sage-4.7.2/local/lib/python/site-
packages/sage/interfaces/r.py", line 572, in library[[BR]] raise
!ImportError, "%s"%ret[[BR]] !ImportError: Loading required package:
lattice[[BR]] Warning message:[[BR]] In library(package, lib.loc =
lib.loc, character.only = TRUE, logical.return = TRUE, :[[BR]] there
is no package called
'lattice'[[BR]]**********************************************************************[[BR]]1
items had failures:[[BR]] 1 of 9 in !__main!__.example_37[[BR]]***Test
Failed*** 1 failures.[[BR]]For whitespace errors, see the file
/home/flint/.sage//tmp/r_3534.py[[BR]] [3.4
s][[BR]] [[BR]]----------------------------------------------------------------------[[BR]]The
following tests failed:[[BR]][[BR]][[BR]] sage -t "devel/sage-
main/sage/interfaces/r.py"[[BR]]Total time for all tests: 3.4 seconds
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12065>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.