#14008: Some R packages no longer can  be installed
----------------------------------------+-----------------------------------
       Reporter:  charpent              |         Owner:  tbd         
           Type:  enhancement           |        Status:  needs_review
       Priority:  major                 |     Milestone:  sage-5.7    
      Component:  packages              |    Resolution:              
       Keywords:  r-project             |   Work issues:              
Report Upstream:  N/A                   |     Reviewers:              
        Authors:  Emmanuel Charpentier  |     Merged in:              
   Dependencies:                        |      Stopgaps:              
----------------------------------------+-----------------------------------

Old description:

> (At least) some R packages can no longer be installed.
>
> This is due to upstream's change of management of "lazy loading" : some
> packages version available through default repositories now expect to use
> this new mecaism, which is not available in R 2.14.0.
>
> The best solution is probably to update the R version shipping with Sage.
> I have packaged  and tested it, but my solution is not yet complete :
> "make ptestlong" gives me two (expectable failures) :
>

> {{{
> sage -t  --long -force_lib devel/sage/sage/interfaces/r.py
> **********************************************************************
> File "/home/sage/sage-5.6/devel/sage-main/sage/interfaces/r.py", line
> 555:
>     sage: r.version()
> Expected:
>     ((2, 14, 0), 'R version 2.14.0 (2011-10-31)')
> Got:
>     ((2, 15, 2), 'R version 2.15.2 (2012-10-26)')
> **********************************************************************
> File "/home/sage/sage-5.6/devel/sage-main/sage/interfaces/r.py", line
> 2049:
>     sage: r.version()
> Expected:
>     ((2, 14, 0), 'R version 2.14.0 (2011-10-31)')
> Got:
>     ((2, 15, 2), 'R version 2.15.2 (2012-10-26)')
> **********************************************************************
> 2 items had failures:
>    1 of   4 in __main__.example_16
>    1 of   4 in __main__.example_80
> ***Test Failed*** 2 failures.
> }}}
>
> Install the spkg from
> http://boxen.math.washington.edu/home/dima/packages/r-2.15.2.p0.spkg
> and apply the [http://trac.sagemath.org/sage_trac/raw-
> attachment/ticket/14008/trac-14008.patch patch]

New description:

 (At least) some R packages can no longer be installed.

 This is due to upstream's change of management of "lazy loading" : some
 packages version available through default repositories now expect to use
 this new mechanism, which is not available in R 2.14.0.

 The best solution is probably to update the R version shipping with Sage.
 I have packaged  and tested it
 Install the spkg from
 http://boxen.math.washington.edu/home/dima/packages/r-2.15.2.p0.spkg
 and apply the [http://trac.sagemath.org/sage_trac/raw-
 attachment/ticket/14008/trac-14008.patch patch]

--

Comment (by dimpase):

 Could you provide examples related to R packages which this is supposed to
 fix?
 (Even better, doctests, perhaps optional)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14008#comment:15>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to