Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: tags/R-1-2-2

This branch is 1 commit ahead, 39509 commits behind trunk

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
Examples
Makefile.in
README
arith-true.R
arith-true.Rout.save
arith.R
arith.Rout.save
d-p-q-r-tests.R
d-p-q-r-tests.Rout.save
eval-etc.R
eval-etc.Rout.save
gct-foot.R
is-things.R
is-things.Rout.save
isas-tests.Rin
isas-tests.Rout.save
lm-tests.R
lm-tests.Rout.save
method-dispatch.R
method-dispatch.Rout.save
no-segfault.Rin
p-r-random-tests.R
p-r-random-tests.Rout.save
primitive-funs.R
primitive-funs.Rout.save
print-tests.R
print-tests.Rout.save
reg-IO.R
reg-IO.Rout.save
reg-plot.R
reg-plot.Rout.save
reg-tests-1.R
reg-tests-2.R
reg-tests-2.Rout.save
simple-true.R
simple-true.Rout.save

README

In this directory, various tests on R are run automatically.
This is the recommended way to check if R has been built successfully on
your architecture.

	make test-All
does both of
	make test-Examples
and	make test-Specific

the first of which runs all the examples from the help files (*.Rd) of
all core packages (base, eda, ..., ts) -- which can take quite long (a
few minutes, depending on your environment).

The "fast" part of the tests is `test-Specific' which runs the *.R
files in this (./tests) directory (tolerantly) compares the result
*.Rout file with the prespecified *.Rout.save (if that exists).  It
also runs a test abusing all the functions via no-segfault.R, and that
can be quite slow (a minute or more).

There are other useful make targets:

	make test-undoc
	make test-codoc

run undoc() and codoc() on base and all the standard packages.


	make test-Reg

runs regression tests, that is tests that ensure that things which have been
changed (perhaps as a result of bug reports) stay fixed.


	make test-Random

runs a series of tests on the distribution of random variates generated
by the rxxxx() functions.  The test is a large deviation bound on the 
Kolmogorov statistic, so also provides a test of the cumulative distribution
functions pxxxx().  Because rare events do happen, this test suite
will be failed in about 1 in 50 runs.


	make test-Gct

runs a subset of the specific tests with gctorture turned on.  This is slow,
taking an hour or two.


Martin Maechler for the R Core Team.
Something went wrong with that request. Please try again.