pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/R-testthat (devel/R-testthat) Updated 3.0.2 to ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2754773d8ee3
branches: trunk
changeset: 457117:2754773d8ee3
user: mef <mef%pkgsrc.org@localhost>
date: Tue Aug 17 15:25:42 2021 +0000
description:
(devel/R-testthat) Updated 3.0.2 to 3.0.4
# testthat 3.0.4
* The vendored Catch code used for `use_catch()` now uses an constant
value for the stack size rather than relying on SIGSTKSZ. This
fixes compatibility for recent glibc versions where SIGSTKSZ is no
longer a constant.
* Fixed an issue that caused errors and early termination of tests on
R <= 3.6 when a failing condition expectation was signalled inside a
snapshot.
# testthat 3.0.3
* `expect_snapshot_file()` gains a `compare` argument (#1378,
@nbenn). This is a customisation point for how to compare old and
new snapshot files.
The functions `compare_file_binary()` and `compare_file_text()` are
now exported from testthat to be supplied as `compare`
argument. These implement the same behaviour as the old `binary`
argument which is now deprecated.
* `expect_snapshot()` no longer deletes snapshots when an unexpected
error occurs.
* New `announce_snapshot_file()` function for developers of testthat
extensions. Announcing a snapshot file allows testthat to preserve
files that were not generated because of an unexpected error or a
`skip()` (#1393). Unannounced files are automatically deleted during
cleanup if the generating code isn't called.
* New expectation: `expect_no_match()`. It complements `expect_match()` by
checking if a string **doesn't match** a regular expression
(@michaelquinn32, #1381).
* Support setting the testthat edition via an environment variable
(`TESTTHAT_EDITION`) as well (@michaelquinn32, #1386).
diffstat:
devel/R-testthat/Makefile | 5 +++--
devel/R-testthat/distinfo | 10 +++++-----
2 files changed, 8 insertions(+), 7 deletions(-)
diffs (36 lines):
diff -r 55c91582ec83 -r 2754773d8ee3 devel/R-testthat/Makefile
--- a/devel/R-testthat/Makefile Tue Aug 17 14:37:59 2021 +0000
+++ b/devel/R-testthat/Makefile Tue Aug 17 15:25:42 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2021/06/06 13:11:49 mef Exp $
+# $NetBSD: Makefile,v 1.11 2021/08/17 15:25:42 mef Exp $
R_PKGNAME= testthat
-R_PKGVER= 3.0.2
+R_PKGVER= 3.0.4
CATEGORIES= devel
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -30,6 +30,7 @@
TEST_DEPENDS+= R-mockery-[0-9]*:../../devel/R-mockery
TEST_DEPENDS+= R-diffviewer-[0-9]*:../../www/R-diffviewer
TEST_DEPENDS+= R-callr>=3.5.1:../../devel/R-callr
+TEST_DEPENDS+= tex-inconsolata-[0-9]*:../../fonts/tex-inconsolata
USE_LANGUAGES= c c++
diff -r 55c91582ec83 -r 2754773d8ee3 devel/R-testthat/distinfo
--- a/devel/R-testthat/distinfo Tue Aug 17 14:37:59 2021 +0000
+++ b/devel/R-testthat/distinfo Tue Aug 17 15:25:42 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2021/06/06 13:11:49 mef Exp $
+$NetBSD: distinfo,v 1.7 2021/08/17 15:25:42 mef Exp $
-SHA1 (R/testthat_3.0.2.tar.gz) = 643e80de9f7381eab80d45a46f19849e5668b5d6
-RMD160 (R/testthat_3.0.2.tar.gz) = 150ff4fcf385169c53f4538275ff595ab39b7bee
-SHA512 (R/testthat_3.0.2.tar.gz) = b6ce23dc72a7568722524435aae850831e8605edd22cc11aa6724cbdc830198ce8365d4bf5ebdcfbf739a7776ee80c069e0681b3e2f1d21cfc1bacfe201a5791
-Size (R/testthat_3.0.2.tar.gz) = 680365 bytes
+SHA1 (R/testthat_3.0.4.tar.gz) = 6f5c7084507daf84cd10d67d0553d90771c59500
+RMD160 (R/testthat_3.0.4.tar.gz) = be355d4869ed2eaba8b0e9dbed9e19f834e44689
+SHA512 (R/testthat_3.0.4.tar.gz) = c5771e49201a2047fabdd5efd3b3821b1a4fa08f5be28190ca11f69a70f63041e972b9ddc61f4daea32e2aabb237b4641046cc019b089ce7f8c30a00b2d09262
+Size (R/testthat_3.0.4.tar.gz) = 688142 bytes
Home |
Main Index |
Thread Index |
Old Index