pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/R-testthat



Module Name:    pkgsrc
Committed By:   mef
Date:           Tue Aug 17 15:25:42 UTC 2021

Modified Files:
        pkgsrc/devel/R-testthat: Makefile distinfo

Log Message:
(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).


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/R-testthat/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/R-testthat/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/R-testthat/Makefile
diff -u pkgsrc/devel/R-testthat/Makefile:1.10 pkgsrc/devel/R-testthat/Makefile:1.11
--- pkgsrc/devel/R-testthat/Makefile:1.10       Sun Jun  6 13:11:49 2021
+++ pkgsrc/devel/R-testthat/Makefile    Tue Aug 17 15:25:42 2021
@@ -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-rematch2-[0-9]*:../../d
 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++
 

Index: pkgsrc/devel/R-testthat/distinfo
diff -u pkgsrc/devel/R-testthat/distinfo:1.6 pkgsrc/devel/R-testthat/distinfo:1.7
--- pkgsrc/devel/R-testthat/distinfo:1.6        Sun Jun  6 13:11:49 2021
+++ pkgsrc/devel/R-testthat/distinfo    Tue Aug 17 15:25:42 2021
@@ -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