|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| Embedding/ | H | 03-May-2022 | - | 556 | 386 |
| Examples/ | H | 03-May-2022 | - | 34,568 | 32,608 |
| Pkgs/ | H | 19-Apr-2021 | - | 607 | 434 |
| CRANtools.R | H A D | 24-Oct-2021 | 862 | 29 | 17 |
| Makefile.common | H A D | 11-Oct-2021 | 17 KiB | 523 | 439 |
| Makefile.in | H A D | 03-May-2022 | 4.7 KiB | 150 | 108 |
| Makefile.install | H A D | 26-Mar-2020 | 2.2 KiB | 75 | 45 |
| Makefile.win | H A D | 21-May-2021 | 2.5 KiB | 93 | 65 |
| PCRE.R | H A D | 23-Jun-2020 | 4.2 KiB | 124 | 80 |
| R-intro.Rout.save | H A D | 13-Oct-2021 | 20.2 KiB | 912 | 870 |
| README | H A D | 31-May-2021 | 3.4 KiB | 118 | 72 |
| any-all.R | H A D | 25-Sep-2018 | 3 KiB | 94 | 73 |
| any-all.Rout.save | H A D | 13-Oct-2021 | 3.8 KiB | 112 | 106 |
| arith-true.R | H A D | 19-Apr-2021 | 7.2 KiB | 221 | 146 |
| arith-true.Rout.save | H A D | 13-Oct-2021 | 9.2 KiB | 328 | 321 |
| arith.R | H A D | 25-Sep-2018 | 623 | 27 | 15 |
| arith.Rout.save | H A D | 13-Oct-2021 | 4 KiB | 89 | 83 |
| array-subset.R | H A D | 25-Sep-2018 | 2.3 KiB | 87 | 51 |
| complex.R | H A D | 25-Sep-2018 | 4.6 KiB | 160 | 91 |
| complex.Rout.save | H A D | 13-Oct-2021 | 13.9 KiB | 298 | 262 |
| conditions.R | H A D | 28-Sep-2021 | 4.5 KiB | 153 | 122 |
| d-p-q-r-tests.R | H A D | 19-Apr-2021 | 19.8 KiB | 498 | 383 |
| d-p-q-r-tests.Rout.save | H A D | 13-Oct-2021 | 38 KiB | 894 | 888 |
| d-p-q-r-tst-2.R | H A D | 14-Sep-2021 | 30.9 KiB | 787 | 532 |
| datasets.R | H A D | 25-Sep-2018 | 271 | 10 | 7 |
| datasets.Rout.save | H A D | 13-Oct-2021 | 27 KiB | 670 | 560 |
| datetime.R | H A D | 25-Apr-2020 | 1.4 KiB | 44 | 24 |
| datetime.Rout.save | H A D | 13-Oct-2021 | 2.6 KiB | 82 | 76 |
| datetime2.R | H A D | 19-Apr-2021 | 1.8 KiB | 48 | 26 |
| datetime2.Rout.save | H A D | 13-Oct-2021 | 11.7 KiB | 251 | 245 |
| demos.R | H A D | 25-Sep-2018 | 1 KiB | 31 | 20 |
| demos.Rout.save | H A D | 13-Oct-2021 | 44.9 KiB | 1,532 | 1,222 |
| demos2.R | H A D | 25-Sep-2018 | 267 | 10 | 5 |
| encodings.R | H A D | 25-Sep-2018 | 863 | 28 | 19 |
| eval-etc-2.R | H A D | 21-May-2021 | 3.1 KiB | 78 | 44 |
| eval-etc-2.Rout.save | H A D | 13-Oct-2021 | 20 KiB | 580 | 562 |
| eval-etc.R | H A D | 26-Mar-2020 | 7 KiB | 236 | 160 |
| eval-etc.Rout.save | H A D | 13-Oct-2021 | 30.8 KiB | 1,005 | 981 |
| eval-fns.R | H A D | 19-Apr-2021 | 4.2 KiB | 100 | 85 |
| gct-foot.R | H A D | 25-Sep-2018 | 60 | 2 | 1 |
| iec60559.R | H A D | 25-Sep-2018 | 531 | 19 | 7 |
| iec60559.Rout.save | H A D | 13-Oct-2021 | 2.7 KiB | 61 | 55 |
| internet.R | H A D | 25-Sep-2018 | 611 | 22 | 9 |
| internet.Rout.save | H A D | 13-Oct-2021 | 8.9 KiB | 266 | 260 |
| internet2.R | H A D | 17-Feb-2020 | 2.4 KiB | 68 | 49 |
| isas-tests.Rin | H A D | 25-Sep-2018 | 2.4 KiB | 61 | 54 |
| isas-tests.Rout.save | H A D | 13-Oct-2021 | 107.3 KiB | 2,615 | 2,609 |
| lapack.R | H A D | 19-Apr-2021 | 3.5 KiB | 157 | 104 |
| lapack.Rout.save | H A D | 13-Oct-2021 | 12.9 KiB | 426 | 404 |
| libcurl.R | H A D | 19-Apr-2021 | 2.8 KiB | 97 | 65 |
| lm-tests.R | H A D | 28-Mar-2019 | 3.5 KiB | 102 | 69 |
| lm-tests.Rout.save | H A D | 13-Oct-2021 | 19 KiB | 427 | 406 |
| method-dispatch.R | H A D | 25-Sep-2018 | 1.6 KiB | 63 | 36 |
| method-dispatch.Rout.save | H A D | 13-Oct-2021 | 3.2 KiB | 108 | 102 |
| no-segfault.Rin | H A D | 09-Jul-2021 | 6 KiB | 144 | 125 |
| ok-errors.R | H A D | 25-Sep-2018 | 775 | 25 | 12 |
| ok-errors.Rout.save | H A D | 13-Oct-2021 | 1.5 KiB | 45 | 39 |
| p-qbeta-strict-tst.R | H A D | 25-Sep-2018 | 21.5 KiB | 412 | 327 |
| p-r-random-tests.R | H A D | 28-Mar-2019 | 6 KiB | 182 | 138 |
| p-r-random-tests.Rout.save | H A D | 13-Oct-2021 | 9.5 KiB | 327 | 321 |
| primitives.R | H A D | 19-Apr-2021 | 5 KiB | 147 | 116 |
| print-tests.R | H A D | 26-Mar-2020 | 10.2 KiB | 344 | 191 |
| print-tests.Rout.save | H A D | 13-Oct-2021 | 32 KiB | 947 | 857 |
| r-strict-tst.R | H A D | 19-Apr-2021 | 2.3 KiB | 58 | 42 |
| reg-BLAS.R | H A D | 25-Sep-2018 | 4.9 KiB | 136 | 91 |
| reg-IO.R | H A D | 25-Sep-2018 | 1.4 KiB | 61 | 38 |
| reg-IO.Rout.save | H A D | 13-Oct-2021 | 3.4 KiB | 177 | 147 |
| reg-IO2.R | H A D | 19-Apr-2021 | 3.6 KiB | 125 | 92 |
| reg-IO2.Rout.save | H A D | 13-Oct-2021 | 7.1 KiB | 253 | 247 |
| reg-S4-examples.R | H A D | 25-Sep-2018 | 9.8 KiB | 358 | 196 |
| reg-S4.R | H A D | 21-May-2021 | 35.8 KiB | 1,024 | 698 |
| reg-S4.Rout.save | H A D | 13-Oct-2021 | 45.8 KiB | 1,360 | 1,328 |
| reg-examples1.R | H A D | 25-Sep-2018 | 3 KiB | 91 | 69 |
| reg-examples2.R | H A D | 25-Sep-2018 | 1.3 KiB | 39 | 26 |
| reg-examples3.R | H A D | 21-May-2021 | 5.5 KiB | 180 | 96 |
| reg-examples3.Rout.save | H A D | 13-Oct-2021 | 19.2 KiB | 577 | 514 |
| reg-large.R | H A D | 19-Aug-2021 | 12.6 KiB | 345 | 246 |
| reg-packages.R | H A D | 31-May-2021 | 18.3 KiB | 476 | 341 |
| reg-plot-latin1.R | H A D | 26-Mar-2020 | 249 | 7 | 6 |
| reg-plot.R | H A D | 19-Apr-2021 | 9 KiB | 246 | 144 |
| reg-tests-1a.R | H A D | 21-May-2021 | 138.5 KiB | 4,876 | 2,726 |
| reg-tests-1b.R | H A D | 20-Oct-2021 | 65.2 KiB | 2,114 | 1,096 |
| reg-tests-1c.R | H A D | 02-Jul-2021 | 59.3 KiB | 1,632 | 1,020 |
| reg-tests-1d.R | H A D | 15-Oct-2021 | 187.9 KiB | 5,097 | 3,558 |
| reg-tests-2.R | H A D | 19-Apr-2021 | 88.3 KiB | 3,191 | 1,862 |
| reg-tests-2.Rout.save | H A D | 13-Oct-2021 | 211.8 KiB | 8,111 | 7,516 |
| reg-tests-3.R | H A D | 19-Apr-2021 | 6.7 KiB | 247 | 166 |
| reg-tests-3.Rout.save | H A D | 13-Oct-2021 | 43.2 KiB | 949 | 915 |
| reg-translation.R | H A D | 19-Apr-2021 | 1.3 KiB | 38 | 25 |
| reg-win.R | H A D | 26-Mar-2020 | 887 | 35 | 20 |
| simple-true.R | H A D | 25-Sep-2018 | 5.8 KiB | 191 | 121 |
| simple-true.Rout.save | H A D | 13-Oct-2021 | 7.8 KiB | 303 | 297 |
| test-system.R | H A D | 25-Sep-2018 | 3.2 KiB | 90 | 66 |
| test-system.Rout.save | H A D | 26-Mar-2020 | 10.2 KiB | 547 | 479 |
| test-system2.c | H A D | 25-Sep-2018 | 1.1 KiB | 55 | 43 |
| testit-Ex.R.save | H A D | 25-Sep-2018 | 103 | 13 | 7 |
| testit.Rd | H A D | 25-Sep-2018 | 647 | 40 | 30 |
| testit.html.save | H A D | 19-Jun-2021 | 1.2 KiB | 63 | 43 |
| testit.tex.save | H A D | 25-Sep-2018 | 821 | 50 | 38 |
| timezone.R | H A D | 25-Sep-2018 | 458 | 10 | 2 |
| utf8-regex.R | H A D | 19-Apr-2021 | 14 KiB | 329 | 246 |
| utf8.R | H A D | 25-Sep-2018 | 1.9 KiB | 55 | 34 |
| ver20-Ex.R.save | H A D | 25-Sep-2018 | 97 | 10 | 4 |
| ver20.Rd | H A D | 25-Sep-2018 | 1.3 KiB | 59 | 44 |
| ver20.html.save | H A D | 25-Sep-2018 | 2.3 KiB | 90 | 64 |
| ver20.tex.save | H A D | 25-Sep-2018 | 1.7 KiB | 61 | 50 |
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