[Rd] r44608 fails make check-all in scatter.smooth example

Martin Maechler maechler at stat.math.ethz.ch
Tue Feb 26 17:48:07 CET 2008


>>>>> "BDR" == Prof Brian Ripley <ripley at stats.ox.ac.uk>
>>>>>     on Mon, 25 Feb 2008 19:10:07 +0000 (GMT) writes:

    BDR> The cause is this:
    BDR> r44607 | maechler | 2008-02-25 14:01:52 +0000 (Mon, 25 Feb 2008) | 2 lines

    BDR> add Fortran type declarations in two cases, mainly for didactical reasons

    BDR> The two declarations have been interchanged.  Fixed in 44609, I hope.


Thank you, Brian.

Indeed, I'm sorry for that, and I am wondering how I could
overlook the problem when I 'make check'ed it *before*
committing....

Martin

    BDR> On Mon, 25 Feb 2008, Gavin Simpson wrote:

    >> Dear List,
    >> 
    >> Having had my appetite sufficiently whetted by Prof. Ripley's email
    >> about the new graphics capabilities in Unixes, I wanted to try them out.
    >> I updated to svn r44608, configured with the following options:
    >> 
    >> R is now configured for x86_64-unknown-linux-gnu
    >> 
    >> Source directory:          ..
    >> Installation directory:    /usr/local
    >> 
    >> C compiler:                gcc  -O3 -g -std=gnu99 -pipe -Wall -fexceptions -fstack-protector -m64 -march=opteron -mtune=opteron
    >> Fortran 77 compiler:       gfortran  -O3 -g -pipe -Wall -fexceptions -fstack-protector -m64 -march=opteron -mtune=opteron
    >> 
    >> C++ compiler:              g++  -O3 -g -pipe -Wall -fexceptions -fstack-protector -m64 -march=opteron -mtune=opteron
    >> Fortran 90/95 compiler:    gfortran -O3 -g -pipe -Wall -fexceptions -fstack-protector -m64 -march=opteron -mtune=opteron
    >> Obj-C compiler:            gcc -g -O2
    >> 
    >> Interfaces supported:      X11, tcltk
    >> External libraries:        readline
    >> Additional capabilities:   PNG, JPEG, iconv, MBCS, NLS, cairo
    >> Options enabled:           shared BLAS, R profiling, Java
    >> 
    >> Recommended packages:      yes
    >> 
    >> R compiled OK, but make check-all fails running the scatter.smooth example:
    >> 
    >> running code in 'stats-Ex.R' ...make[4]: *** [stats-Ex.Rout] Error 1
    >> make[4]: Leaving directory `/home/gavin/R/devel/build/tests/Examples'
    >> make[3]: *** [test-Examples-Base] Error 2
    >> make[3]: Leaving directory `/home/gavin/R/devel/build/tests/Examples'
    >> make[2]: *** [test-Examples] Error 2
    >> make[2]: Leaving directory `/home/gavin/R/devel/build/tests'
    >> make[1]: *** [test-all-basics] Error 1
    >> make[1]: Leaving directory `/home/gavin/R/devel/build/tests'
    >> make: *** [check-all] Error 2
    >> 
    >> And the Rout file contains this at the failure:
    >> 
    >> $ tail -n 20 tests/Examples/stats-Ex.Rout.fail
    >>> 
    >>> cleanEx(); nameEx("scatter.smooth")
    >>> ### * scatter.smooth
    >>> 
    >>> flush(stderr()); flush(stdout())
    >>> 
    >>> ### Name: scatter.smooth
    >>> ### Title: Scatter Plot with Smooth Curve Fitted by Loess
    >>> ### Aliases: scatter.smooth loess.smooth
    >>> ### Keywords: smooth
    >>> 
    >>> ### ** Examples
    >>> 
    >>> require(graphics)
    >>> 
    >>> with(cars, scatter.smooth(speed, dist))
    >> Error in .Fortran(R_lowesw, as.double(fitted.residuals), as.integer(N),  :
    >> Incorrect number of arguments (4), expecting 7 for lowesw
    >> Calls: with ... scatter.smooth -> loess.smooth -> simpleLoess -> .Fortran
    >> Execution halted
    >> 
    >> This is on Fedora 8.
    >> 
    >> Plots on the new X11() device look very nice though!
    >> 
    >> Cheers,
    >> 
    >> G
    >> --
    >> %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
    >> Dr. Gavin Simpson             [t] +44 (0)20 7679 0522
    >> ECRC, UCL Geography,          [f] +44 (0)20 7679 0565
    >> Pearson Building,             [e] gavin.simpsonATNOSPAMucl.ac.uk
    >> Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/
    >> UK. WC1E 6BT.                 [w] http://www.freshwaters.org.uk
    >> %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
    >> 
    >> ______________________________________________
    >> R-devel at r-project.org mailing list
    >> https://stat.ethz.ch/mailman/listinfo/r-devel
    >> 

    BDR> -- 
    BDR> Brian D. Ripley,                  ripley at stats.ox.ac.uk
    BDR> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
    BDR> University of Oxford,             Tel:  +44 1865 272861 (self)
    BDR> 1 South Parks Road,                     +44 1865 272866 (PA)
    BDR> Oxford OX1 3TG, UK                Fax:  +44 1865 272595

    BDR> ______________________________________________
    BDR> R-devel at r-project.org mailing list
    BDR> https://stat.ethz.ch/mailman/listinfo/r-devel



More information about the R-devel mailing list