• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

Embedding/H03-May-2022-556386

Examples/H10-Aug-2021-34,56432,604

Pkgs/H19-Apr-2021-607434

CRANtools.RH A D26-Mar-2020758 2916

Makefile.commonH A D21-May-202116.9 KiB522438

Makefile.inH A D21-May-20214.7 KiB150108

Makefile.installH A D26-Mar-20202.2 KiB7545

Makefile.winH A D21-May-20212.5 KiB9365

PCRE.RH A D23-Jun-20204.2 KiB12480

R-intro.Rout.saveH A D17-Jun-202120.2 KiB912870

READMEH A D31-May-20213.4 KiB11872

any-all.RH A D25-Sep-20183 KiB9473

any-all.Rout.saveH A D17-Jun-20213.8 KiB112106

arith-true.RH A D19-Apr-20217.2 KiB221146

arith-true.Rout.saveH A D17-Jun-20219.2 KiB328321

arith.RH A D25-Sep-2018623 2715

arith.Rout.saveH A D17-Jun-20214 KiB8983

array-subset.RH A D25-Sep-20182.3 KiB8751

complex.RH A D25-Sep-20184.6 KiB16091

complex.Rout.saveH A D17-Jun-202113.9 KiB298262

conditions.RH A D26-Mar-20203.6 KiB12496

d-p-q-r-tests.RH A D19-Apr-202119.8 KiB498383

d-p-q-r-tests.Rout.saveH A D17-Jun-202138 KiB894888

d-p-q-r-tst-2.RH A D02-Aug-202130.5 KiB777524

datasets.RH A D25-Sep-2018271 107

datasets.Rout.saveH A D17-Jun-202127 KiB670560

datetime.RH A D25-Apr-20201.4 KiB4424

datetime.Rout.saveH A D17-Jun-20212.6 KiB8276

datetime2.RH A D19-Apr-20211.8 KiB4826

datetime2.Rout.saveH A D17-Jun-202111.7 KiB251245

demos.RH A D25-Sep-20181 KiB3120

demos.Rout.saveH A D17-Jun-202144.9 KiB1,5321,222

demos2.RH A D25-Sep-2018267 105

encodings.RH A D25-Sep-2018863 2819

eval-etc-2.RH A D21-May-20213.1 KiB7844

eval-etc-2.Rout.saveH A D17-Jun-202120 KiB580562

eval-etc.RH A D26-Mar-20207 KiB236160

eval-etc.Rout.saveH A D17-Jun-202130.8 KiB1,005981

eval-fns.RH A D19-Apr-20214.2 KiB10085

gct-foot.RH A D25-Sep-201860 21

iec60559.RH A D25-Sep-2018531 197

iec60559.Rout.saveH A D17-Jun-20212.7 KiB6155

internet.RH A D25-Sep-2018611 229

internet.Rout.saveH A D17-Jun-20218.9 KiB266260

internet2.RH A D17-Feb-20202.4 KiB6849

isas-tests.RinH A D25-Sep-20182.4 KiB6154

isas-tests.Rout.saveH A D17-Jun-2021107.3 KiB2,6152,609

lapack.RH A D19-Apr-20213.5 KiB157104

lapack.Rout.saveH A D17-Jun-202112.9 KiB426404

libcurl.RH A D19-Apr-20212.8 KiB9765

lm-tests.RH A D28-Mar-20193.5 KiB10269

lm-tests.Rout.saveH A D17-Jun-202119 KiB427406

method-dispatch.RH A D25-Sep-20181.6 KiB6336

method-dispatch.Rout.saveH A D17-Jun-20213.2 KiB108102

no-segfault.RinH A D09-Jul-20216 KiB144125

ok-errors.RH A D25-Sep-2018775 2512

ok-errors.Rout.saveH A D17-Jun-20211.5 KiB4539

p-qbeta-strict-tst.RH A D25-Sep-201821.5 KiB412327

p-r-random-tests.RH A D28-Mar-20196 KiB182138

p-r-random-tests.Rout.saveH A D17-Jun-20219.5 KiB327321

primitives.RH A D19-Apr-20215 KiB147116

print-tests.RH A D26-Mar-202010.2 KiB344191

print-tests.Rout.saveH A D17-Jun-202132 KiB947857

r-strict-tst.RH A D19-Apr-20212.3 KiB5842

reg-BLAS.RH A D25-Sep-20184.9 KiB13691

reg-IO.RH A D25-Sep-20181.4 KiB6138

reg-IO.Rout.saveH A D17-Jun-20213.4 KiB177147

reg-IO2.RH A D19-Apr-20213.6 KiB12592

reg-IO2.Rout.saveH A D17-Jun-20217.1 KiB253247

reg-S4-examples.RH A D25-Sep-20189.8 KiB358196

reg-S4.RH A D21-May-202135.8 KiB1,024698

reg-S4.Rout.saveH A D17-Jun-202145.8 KiB1,3601,328

reg-examples1.RH A D25-Sep-20183 KiB9169

reg-examples2.RH A D25-Sep-20181.3 KiB3926

reg-examples3.RH A D21-May-20215.5 KiB18096

reg-examples3.Rout.saveH A D17-Jun-202119.2 KiB577514

reg-large.RH A D19-Apr-202112.7 KiB345246

reg-packages.RH A D31-May-202118.3 KiB476341

reg-plot-latin1.RH A D26-Mar-2020249 76

reg-plot.RH A D19-Apr-20219 KiB246144

reg-tests-1a.RH A D21-May-2021138.5 KiB4,8762,726

reg-tests-1b.RH A D21-May-202164.7 KiB2,1091,093

reg-tests-1c.RH A D02-Jul-202159.3 KiB1,6321,020

reg-tests-1d.RH A D05-Aug-2021187.6 KiB5,0873,550

reg-tests-2.RH A D19-Apr-202188.3 KiB3,1911,862

reg-tests-2.Rout.saveH A D26-Jun-2021211.4 KiB8,1017,506

reg-tests-3.RH A D19-Apr-20216.7 KiB247166

reg-tests-3.Rout.saveH A D17-Jun-202143.2 KiB949915

reg-translation.RH A D19-Apr-20211.3 KiB3825

reg-win.RH A D26-Mar-2020887 3520

simple-true.RH A D25-Sep-20185.8 KiB191121

simple-true.Rout.saveH A D17-Jun-20217.8 KiB303297

test-system.RH A D25-Sep-20183.2 KiB9066

test-system.Rout.saveH A D26-Mar-202010.2 KiB547479

test-system2.cH A D25-Sep-20181.1 KiB5543

testit-Ex.R.saveH A D25-Sep-2018103 137

testit.RdH A D25-Sep-2018647 4030

testit.html.saveH A D19-Jun-20211.2 KiB6343

testit.tex.saveH A D25-Sep-2018821 5038

timezone.RH A D25-Sep-2018458 102

utf8-regex.RH A D19-Apr-202114 KiB329246

utf8.RH A D25-Sep-20181.9 KiB5534

ver20-Ex.R.saveH A D25-Sep-201897 104

ver20.RdH A D25-Sep-20181.3 KiB5944

ver20.html.saveH A D25-Sep-20182.3 KiB9064

ver20.tex.saveH A D25-Sep-20181.7 KiB6150

README

1There is a hierarchy of check targets:
2
3     make check
4
5for all builders.  It should not need a working latex installation.
6If this works one can be reasonably happy R is working
7and do `make install' (or the equivalent).
8
9    make check-devel
10
11for people changing the code: this runs things like the demos and
12no-segfault which might be broken by code changes, and checks on the
13documentation (effectively R CMD check on each of the base packages).
14It should not need recommended packages installed.
15
16    make check-all
17
18runs all the checks, those in check-devel plus tests of the recommended
19packages.
20
21Note that for complete testing you will need a number of other
22packages installed and available, so if you have a CRAN installation,
23set R_LIBS (perhaps in ~/.R/check.Renviron) to include it before
24running these tests.  For example, some of the tests on 'nlme' depend
25on 'Hmisc', and there are a number of cross references from help pages
26to CRAN packages.
27
28If a check fails there will almost always be a .Rout.fail file with
29the problematic output, so looking at the tail of that file should
30help pinpoint the problem.
31
32The \donttest sections of the examples can be run by
33
34     make check TEST_DONTTEST=TRUE
35
36(but expect some differences from the reference output).  This requires
37functional Tcl/Tk, e.g. for X11-based versions DISPLAY must be set to
38a usable X server.
39
40
41	---------- Historical Information -----------
42
43In this directory, various tests on R are run automatically.
44This is the recommended way to check if R has been built successfully on
45your architecture.
46
47	make check
48
49does
50
51	make test-Examples
52
53runs all the examples from the help files (*.Rd) of all core packages
54(base, ctest, ..., ts) -- which can take quite long (a few minutes,
55depending on your environment).
56
57	make test-Specific
58
59The "fast" part of the tests is `test-Specific' which runs the *.R
60files in this (./tests) directory (tolerantly) compares the result
61*.Rout file with the prespecified *.Rout.save (if that exists).
62
63	make test-Reg
64
65runs regression tests, that is tests that ensure that things which have been
66changed (perhaps as a result of bug reports) stay fixed.
67
68	make test-Internet
69	make test-Internet2
70
71runs tests which need access to the Internet and/or sockets and so may
72not run on every machine.  You will see some differences in the
73output, but no test should fail if you do have sockets and Internet
74access.  test-Internet2 is part of 'make check-devel' and checks less
75commonly-used options.
76
77
78Further tests are run by the target `make check-devel', including
79
80
81	make test-Demo
82
83runs all the demos in packages base and stats (but not tcltk), except
84demo(lm.glm) which is run by example(demo) and so not run again.
85
86
87	make test-Random
88
89runs a series of tests on the distribution of random variates generated
90by the rxxxx() functions.  The test is a large deviation bound on the
91Kolmogorov statistic, so also provides a test of the cumulative distribution
92functions pxxxx().  Because rare events do happen, this test suite
93will be failed in about 1 in 50 runs.
94
95
96	make test-Segfault
97
98runs a test abusing all the functions in the base packages via
99no-segfault.R, and that can be quite slow (a minute or more).
100
101
102A target not run by anything else is
103
104	make test-System
105
106which checks options in system[2]() calls.
107
108
109A rarely-used target is
110
111	make test-Gct
112
113runs a subset of the specific tests with gctorture turned on.  This is slow,
114taking an hour or two.
115
116
117Martin Maechler for the R Core Team.
118