From gavin.simpson at ucl.ac.uk  Mon Feb 25 22:17:26 2008
From: gavin.simpson at ucl.ac.uk (Gavin Simpson)
Date: Mon, 25 Feb 2008 21:17:26 +0000
Subject: [Rd] r44608 fails make check-all in scatter.smooth example
In-Reply-To: <alpine.LFD.1.00.0802251844340.1885@gannet.stats.ox.ac.uk>
References: <1203963305.2432.25.camel@prometheus.geog.ucl.ac.uk>
	<alpine.LFD.1.00.0802251844340.1885@gannet.stats.ox.ac.uk>
Message-ID: <1203974246.3169.0.camel@localhost.localdomain>

On Mon, 2008-02-25 at 19:10 +0000, Prof Brian Ripley wrote:
> The cause is this:
> 
> r44607 | maechler | 2008-02-25 14:01:52 +0000 (Mon, 25 Feb 2008) | 2 lines
> 
> add Fortran type declarations in two cases, mainly for didactical reasons
> 
> The two declarations have been interchanged.  Fixed in 44609, I hope.

Dear Prof. Ripley,

Yep, works for me.

Cheers,

Gavin

> 
> 
> 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
> >
> 
-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
 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
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%



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