/usr/lib/R/site-library/testit/NEWS is in r-cran-testit 0.7-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | CHANGES IN testit VERSION 0.7 (unreleased)
NEW FEATURES
o provided an alternative way to write assertions of the form
assert('fact', {(condition_2); (condition_2)}); see ?testit::assert for more
information
CHANGES IN testit VERSION 0.6
NEW FEATURES
o test_pkg() runs package tests with top-level environment being set to the
namespace of the tested package (thanks, @kalibera, #3)
MAJOR CHANGES
o all test scripts (test-*.R) are assumed to be encoded in UTF-8 if they
contain multibyte characters
CHANGES IN testit VERSION 0.5
NEW FEATURES
o added an infix operator `%==%` as an alias of identical() (in RStudio, you
can use an add-in to insert the text `%==%`)
MINOR CHANGES
o test_pkg() will print out the filename of the R script that errored
CHANGES IN testit VERSION 0.4
MAJOR CHANGES
o the `fact` argument of `assert()` is optional now: all arguments of
`assert()` can be test conditions
CHANGES IN testit VERSION 0.3
MAJOR CHANGES
o the test files have to be named of the form test-*.R (or test-*.r), i.e.
they have to use the prefix test-
o the test environment is always cleaned (all objects removed) before the
next test is run
CHANGES IN testit VERSION 0.2.1
MINOR CHANGES
o fixed a test that failed under R 2.15.x because the argument keep.source
did not exist in parse()
CHANGES IN testit VERSION 0.2
MAJOR CHANGES
o assert() does not use base::stopifnot() any more; a tailored version of
stopifnot() is used now; see ?assert for the differences between this
version and base::stopifnot(); in particular, assert(fact, logical(0))
will fail but stopifnot(logical(0)) will not
CHANGES IN testit VERSION 0.1
NEW FEATURES
o this is the first version of testit; the source code is hosted on
Github: https://github.com/yihui/testit
o added functions assert(), test_pkg(), has_error() and has_warning()
|