New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing doctest - R installation broken? #12065
Comments
comment:1
Can you try #12057 ? |
Changed keywords from R, lattice to R, lattice, r-project |
comment:3
Thank you. This fixed my problem. |
comment:4
Replying to @sagetrac-flint:
Volker, shall we close this as a duplicate and drop a note at #12057? |
comment:5
Fixed by #12057 |
Dependencies: 12057 |
Author: Volker Braun |
Reviewer: Burcin Erocal |
Changed author from Volker Braun to none |
Changed reviewer from Burcin Erocal to Burcin Erocal, Volker Braun |
Changed dependencies from 12057 to #12057 |
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"
File "/home/flint/sage-4.7.2/devel/sage-main/sage/interfaces/r.py", line 997:
sage: r.library("lattice")
Exception raised:
Traceback (most recent call last):
File "/home/flint/sage-4.7.2/local/bin/ncadoctest.py", line 1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/home/flint/sage-4.7.2/local/bin/sagedoctest.py", line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename, compileflags)
File "/home/flint/sage-4.7.2/local/bin/ncadoctest.py", line 1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest !main!.example_37![7]>", line 1, in
r.library("lattice")###line 997:
sage: r.library("lattice")
File "/home/flint/sage-4.7.2/local/lib/python/site-packages/sage/interfaces/r.py", line 572, in library
raise ImportError, "%s"%ret
ImportError: Loading required package: lattice
Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called 'lattice'
1 items had failures:
1 of 9 in !main!.example_37
Test Failed 1 failures.
For whitespace errors, see the file /home/flint/.sage//tmp/r_3534.py
[3.4 s]
The following tests failed:
sage -t "devel/sage-main/sage/interfaces/r.py"
Total time for all tests: 3.4 seconds
Depends on #12057
CC: @burcin
Component: packages: standard
Keywords: R, lattice, r-project
Reviewer: Burcin Erocal, Volker Braun
Issue created by migration from https://trac.sagemath.org/ticket/12065
The text was updated successfully, but these errors were encountered: