/usr/lib/R/site-library/checkmate/NEWS.md is in r-cran-checkmate 1.8.2-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 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | # Version 1.8.2 (2016-xx-xx)
* `*Matrix` and `*Array` now additionally allow to check for integerish storage
type via argument "mode".
* Functions `*Count`, `*Int`, `*Number`, `*Integer`, `*Integerish` and
`*Numeric` do not accept logical values any more.
* `checkAtomicVector` is now more restrictive and prohibits a dimension symbol.
Thus, a matrix is not considered an atomic vector any more.
* Dropped support for AssertCollections in convert functions (`asInt`,
`asInteger` and `asCount`).
* Added `checkTibble`.
# Version 1.8.1 (2016-06-27)
* Function `test_file` is longer exported.
* `*Function` does not longer lookup functions with `match.fun`. As a result,
passing functions via the string of the function name stopped working.
* In `qassert` using `f` as first char in a rule now specifies factor (before:
function).
# Version 1.8.0 (2016-06-06)
* Most functions now support the handling of default arguments encoded as `NULL`
via argument `null.ok`.
* Functions `*File` and `*Directory` are deprecated due to name clashes and will
be removed in a future version. Please use `*FileExists` or `*DirectoryExists`
instead.
* New helper function `matchArg` to provide a simple an easy way for partial
argument matching in combination with an AssertCollection.
* Added alias functions for all check functions (`check_*`)
to provide support for the underscore programming style in `assert()`.
# Version 1.7.4 (2016-04-08)
* Compatibility with the upcoming testthat version.
* `expect_` functions now return the checked object invisibly.
* Changed default of argument `.var.name` for assertions and `label` for
expectations: They now default to the return value of the exported function
`vname` (instead of missing which confuses some linters).
* Fixed error message in convert functions: Variable name was not properly
looked up by the heuristic.
* Fixed a bug in `qassertr` and `qtestr` where the error message was not
properly generated if multiple rules were provided.
* New argument `depth` for `qtestr` to control the recursion depth while
checking nested lists.
# Version 1.7.3 (2016-03-10)
* Added `checkDate()`.
* Argument `.var.name` of assert functions now has \code{NULL} as default value
(instead of missing).
* Fixed a bug in `*OS` functions.
* Fixed a bug in `*Directory` functions.
* New argument `extension` for the `*File` family of functions.
# Version 1.7.2 (2016-02-25)
* Added `checkOS()`.
* Argument `fixed` for `*Character` functions now accepts a string instead of a
boolean value and thus can directly be used for a substring search.
* New arguments `min.chars`, `pattern`, `fixed` and `ignore.case` for the
`*String` family of functions.
* Exported helper functions `wf` (which.first) and `wl` (which.last).
* Now importing the new backports package for functions `lengths()` and
`dir.exists`.
# Version 1.7.1 (2016-02-02)
* Fixed a segfault while checking an upper bound in qassert/qtest.
* Some minor speedups
# Version 1.7.0 (2016-01-23)
* Added alias functions for all functions to support the underscore style, e.g.
`assert_numeric` is the new alias for `assertNumeric` and `test_matrix` is the
alias for `test_matrix`.
* All assert functions now invisibly return the tested object instead of `TRUE`
and thus can be used with magrittr pipes.
* Improved speed for most functions by reducing the .Call overhead (Thanks to
Hadley Wickham).
* Added `*DataTable` functions to properly test primary and secondary keys of
data tables.
* Removed `*Percentage` family of functions.
* Exported functions `makeAssertion`, `makeTest` and `makeExpectation` to assist
expanding the package with user-generated checks.
* Added functions `makeAssertionFunction`, `makeTestFunction` and
`makeExpectationFunction` to automatically create the respective functions
based on a provided check function.
# Version 1.6.3 (2015-10-23)
* Assertions can now be collected (via `makeAssertCollection()`) and reported
(via `reportAssertions()`).
* `qassert()` can now perform bound checks on strings.
* The default for the parameter "ordered" of the `*SetEqual` functions is now
set to FALSE, as described in the documentation.
# Version 1.6.2 (2015-07-26)
* Fixed a compile-time warning.
* checkmate does not import `testthat` anymore in order to speed up package
loading times and to keep the dependencies at a minimum. The `expect_*`
family of functions can still be used, the namespace will be loaded on
demand.
# Version 1.6.1 (2015-07-16)
* New family of functions: `expect_*` is intended to be used in combination
with testthat. But note that functions `expect_null()` and `expect_named()`
are not provided to avoid name clashes with testthat.
* Added `qexpect()` and `qexpectr()`.
* Added argument `all.missing` for checks of matricies and data frames.
* Added `anyNaN()`.
* Clarified documentation for `assert()` and `allMissing()`.
* Fixed a bug where bound checks were performed on missing values.
* Fixed a bug where missingness was not correctly detected in data frames.
# Version 1.6.0 (2015-06-19)
* Started to support long vectors.
* Added a short vignette.
* Improved documentation.
* New argument "combine" for `assert()` to allow combining check functions with
an AND instead of an OR.
# Version 1.5.3 (2015-05-13)
* Fixed a bug regarding the number of rows in zero-column data frames.
* Fixed a bug where the type of lists with dimension attribute where reported
as "array" or "matrix".
* Family *Array: new arguments "min.d" and "max.d".
* Family *Array and *Matrix: Argument "mode" now additionally accepts strings
"list" and "atomic".
# Version 1.5.2 (2015-03-19)
* Fixed: `(assert|check|test)Character(NA_character_, min.chars = 1)` does not
eval to TRUE anymore.
* New arguments for `*Factor` functions: `(n|min|max).levels`.
* Improved error messages for type and length checks.
* Improved error messages for missing arguments.
# Version 1.5.1 (2014-12-13)
* Included a workaround for R's nrow and ncol to properly work with data frames.
* Fixed a bug handling complex number in checks for integerish values.
* Improved documentation.
# Version 1.5.0 (2014-10-18)
* Added `checkNames()`.
* Added `checkPercentage()`.
* Added `anyInfinite()`.
* Fixed error messages for some dimension checks.
* Fixed an error while checking numerics for finiteness.
# Version 1.4 (2014-09-03)
* Fixed a bug where rownames and colnames of data.frames where not retrieved
correctly.
* Fixed a bug in `checkVector()` (wrong order of arguments in call to C).
* Filesystem access: checks for write and executable rights are now disabled
on windows.
# Version 1.3 (2014-08-15)
* Fixed a bug where logical values passed a check for numerics in `qassert`.
* Family `*SetEqual`: new argument "ordered".
* `checkPathForOutput`: new argument "overwrite".
# Version 1.2 (2014-07-21)
* Fixed bug in checkList.
* Fixed dimnames check on empty matrices and data frames.
* Added `*SetEqual` functions.
# Version 1.1 (2014-06-28)
* Improved error messages in `assert*` functions.
* New argument 'empty.ok' for `*Subset` functions.
* `assert()` now returns TRUE invisibly (as documented).
* Fixed handling of zero-length arguments in `checkFunction()`.
* Fixed error message if duplicated values where found.
* Fixed a missing check for row names in `checkMatrix()` and `checkDataFrame()`.
# Version 1.0 (2014-06-17)
* Initial release on CRAN.
|