e874449eae
# 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.
26 lines
781 B
Makefile
26 lines
781 B
Makefile
# $NetBSD: Makefile,v 1.4 2022/04/29 06:54:57 mef Exp $
|
|
|
|
R_PKGNAME= checkmate
|
|
R_PKGVER= 2.1.0
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Fast and versatile argument checks
|
|
LICENSE= modified-bsd
|
|
|
|
DEPENDS+= R-backports>=1.1.0:../../math/R-backports
|
|
|
|
# Package suggested but not available: 'fastmatch'
|
|
|
|
TEST_DEPENDS+= R-data.table-[0-9]*:../../textproc/R-data.table
|
|
TEST_DEPENDS+= R-devtools-[0-9]*:../../devel/R-devtools
|
|
TEST_DEPENDS+= R-tinytest-[0-9]*:../../devel/R-tinytest
|
|
TEST_DEPENDS+= R-ggplot2-[0-9]*:../../graphics/R-ggplot2
|
|
TEST_DEPENDS+= R-microbenchmark-[0-9]*:../../benchmarks/R-microbenchmark
|
|
TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown
|
|
|
|
|
|
USE_LANGUAGES= c
|
|
|
|
.include "../../math/R/Makefile.extension"
|
|
.include "../../mk/bsd.pkg.mk"
|