Commit graph

4 commits

Author SHA1 Message Date
mef
e874449eae (devel/R-checkmate) Updated 2.0.0 to 2.1.0
# Version 2.1.0
* New arguments `n.chars` and `max.chars` for `checkCharacter()` and
  `checkString()`.
* Checks for integerish now compare the tolerance with the difference to the
  nearest integer with `>` instead of `>=` to allow specifying a tolerance of
  exactly `0` (#177).
* Checks for integerish now check for class `Date` an `POSIXt`.
* Coercion of double to integer in `assertInt()` and `assertIntegerish()` now
  round to the nearest integer instead of always rounding via `trunc()`.
* Fixed an error message where the wrong variable name was reported by
  `assert()` (#182).
* Checks on POSIXct dates with storage mode integer should now work instead of
  raising an exception (#175).
* `*Matrix()` and `*Array()` now allow different storage types than the one
  specified if all values are missing (#184).
* Function `assert()` now supports collecting assertions via `AssertCollection`
  (#112).
* New exported C function `qcheck()` (#180).
* Fixed a bug in `checkFunction(..., ordered = TRUE)` (#204).
* Removed deprecated S macro `DOUBLE_EPS` from C source.
2022-04-29 06:54:57 +00:00
mef
b92c05b040 (devel/R-checkmate) Updated 1.9.4 to 2.0.0. TEST_DEPENDS added, but not enough
# Version 2.0.0
* Expectations now optionally support the package `tinytest`.
 `tinytest` is used as backend if it is attached, otherwise checkmate defaults
  to `testthat`.
  There is now also a vignette on how to setup `checkmate` for `tinytest`.
* Coercion now only affects double vectors.
* Improved error message for type detection in `*List`.
* Removed `*Bit`, the `bit` package is orphaned.
* Fixed documentation.
2020-09-20 21:18:13 +00:00
brook
93e94bec97 Update all R packages to canonical form.
The canonical form [1] of an R package Makefile includes the
following:

- The first stanza includes R_PKGNAME, R_PKGVER, PKGREVISION (as
  needed), and CATEGORIES.

- HOMEPAGE is not present but defined in math/R/Makefile.extension to
  refer to the CRAN web page describing the package.  Other relevant
  web pages are often linked from there via the URL field.

This updates all current R packages to this form, which will make
regular updates _much_ easier, especially using pkgtools/R2pkg.

[1] http://mail-index.netbsd.org/tech-pkg/2019/08/02/msg021711.html
2019-08-08 19:53:36 +00:00
brook
037beb485e Initial commit.
Tests and assertions to perform frequent argument checks. A
substantial part of the package was written in C to minimize any
worries about execution time overhead.
2019-07-30 22:31:32 +00:00