Skip to content

Regression test failed when building on an "older" Linux cluster

3 messages · Brian Ripley, Mark Dalphin

5 days later
#
We don't offer the option of building R without documentation, so I 
presume you do not have Perl installed.

Without the examples, there is no check of large swathes of code, so 'make 
check' should not succeed (it would give a false sense of security to pass 
most tests by omitting them).  I've altered it so it will always fail 
without Perl.

I don't buy the disc space argument: you don't have to _install_ the 
documentation on each node, and 'make check' runs on the build and not the 
installed copy.  We don't offer the possibility of installing a cut-down 
version, but surely someone with such a specialized need will be able to 
script that?  And if disc space is tight, why have a copy on each node? 
(We don't on our clusters, where space is not tight: it makes maintenance 
of packages so much easier to have a single shared copy.)
On Thu, 18 Oct 2007, Dalphin, Mark wrote:

            

  
    
#
Thank you, Prof. Ripley.

In fact, I tend to agree somewhat with your arguments; our system administrators don't, however.

We do have Perl, though looking now I see its version is too old, 5.6.1, not the required > 5.8.0.

Your argument that the examples are essential for testing sways me. If that is how these tests are constructed, then we have failed the tests and can't trust the use of R on that old cluster. I intended my question to imply that we had failed on only one call to example(), hence I concluded (without evidence) that the test functions called example() only once where I had noted the failure. I probably should have grepped for "example(" before concluding that.

I'll see if we can install an upgraded Perl on a shared location and build R against that. I that solves the problem, I'll report back.

Thank you for your time.

Regards,
Mark Dalphin

-----Original Message-----
From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk]
Sent: Wednesday, October 24, 2007 12:37 AM
To: Dalphin, Mark
Cc: R-Devel at stat.math.ethz.ch
Subject: Re: [Rd] Regression test failed when building on an "older" Linux cluster

We don't offer the option of building R without documentation, so I presume you do not have Perl installed.

Without the examples, there is no check of large swathes of code, so 'make check' should not succeed (it would give a false sense of security to pass most tests by omitting them).  I've altered it so it will always fail without Perl.

I don't buy the disc space argument: you don't have to _install_ the documentation on each node, and 'make check' runs on the build and not the installed copy.  We don't offer the possibility of installing a cut-down version, but surely someone with such a specialized need will be able to script that?  And if disc space is tight, why have a copy on each node?
(We don't on our clusters, where space is not tight: it makes maintenance of packages so much easier to have a single shared copy.)
On Thu, 18 Oct 2007, Dalphin, Mark wrote:

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