./devel/R-checkmate, Fast and versatile argument checks

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.1.0, Package name: R-checkmate-2.1.0, Maintainer: pkgsrc-users

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.


Required to run:
[math/R] [math/R-backports]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2022-04-29 08:54:57 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(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.
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2020-09-20 23:18:14 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(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.
   2019-08-08 21:53:58 by Brook Milligan | Files touched by this commit (189) | Package updated
Log message:
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