Skip to content
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

Closed
sagetrac-flint mannequin opened this issue Nov 20, 2011 · 11 comments
Closed

Failing doctest - R installation broken? #12065

sagetrac-flint mannequin opened this issue Nov 20, 2011 · 11 comments

Comments

@sagetrac-flint
Copy link
Mannequin

sagetrac-flint mannequin commented Nov 20, 2011

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

@sagetrac-flint sagetrac-flint mannequin added this to the sage-4.8 milestone Nov 20, 2011
@vbraun
Copy link
Member

vbraun commented Nov 20, 2011

comment:1

Can you try #12057 ?

@vbraun
Copy link
Member

vbraun commented Nov 20, 2011

Changed keywords from R, lattice to R, lattice, r-project

@burcin burcin added the t: bug label Nov 22, 2011
@sagetrac-flint
Copy link
Mannequin Author

sagetrac-flint mannequin commented Nov 30, 2011

comment:3

Thank you. This fixed my problem.

@burcin
Copy link

burcin commented Dec 2, 2011

comment:4

Replying to @sagetrac-flint:

Thank you. This fixed my problem.

Volker, shall we close this as a duplicate and drop a note at #12057?

@vbraun
Copy link
Member

vbraun commented Dec 2, 2011

comment:5

Fixed by #12057

@vbraun
Copy link
Member

vbraun commented Dec 2, 2011

Dependencies: 12057

@vbraun
Copy link
Member

vbraun commented Dec 2, 2011

Author: Volker Braun

@vbraun
Copy link
Member

vbraun commented Dec 2, 2011

Reviewer: Burcin Erocal

@jdemeyer
Copy link

jdemeyer commented Dec 3, 2011

Changed author from Volker Braun to none

@jdemeyer
Copy link

jdemeyer commented Dec 3, 2011

Changed reviewer from Burcin Erocal to Burcin Erocal, Volker Braun

@jdemeyer
Copy link

jdemeyer commented Dec 3, 2011

Changed dependencies from 12057 to #12057

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants