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:           Sun Dec 15 04:22:41 UTC 2024

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

Log Message:
(devel/R-testthat) Updated 3.2.1.1 to 3.2.2

# testthat 3.2.2

## New expectations

* `expect_s7_class()` tests if an object is an S7 class (#1580).

* `expect_no_failure()`, `expect_no_success()` and `expect_snapshot_failure()`
  provide more options for testing expectations.

## Bug fixes and minor improvements

* testthat now requires waldo 0.6.0 or later to access the latest features
  (#1955).

* `expect_condition()` and related functions now include the `class` of the
  expected condition in the failure message, if provided (#1987).

* `expect_error()` and friends now error if you supply `...` but not `pattern`
  (#1932). They no longer give an uninformative error if they fail inside
  a magrittr pipe (#1994).

* `expect_no_*()` expectations no longer incorrectly emit a passing test result
  if they in fact fail (#1997).

* `expect_setequal()` correctly identifies what is missing where (#1962).

* `expect_snapshot()` now strips line breaks in test descriptions
  (@LDSamson, #1900), and errors when called from a `test_that()` that has an
  empty description (@kevinushey, #1980).

* `expect_true()` and `expect_false()` give better errors if `actual` isn't a
  vector (#1996).

* `expect_visible()` and `expect_invisible()` have clearer failure messages
   (#1966).
* `local_reproducible_output()` (used in `test_that()` blocks) now sets
   `LANGUAGE` to `"C"` instead of `"en"` to disable translations,
   avoiding warnings on some platforms (#1925).

* `skip_if_not_installed()` generates a clearer message that sorts better
   (@MichaelChirico, #1959).

* `with_mock()` and `local_mock()` have been unconditionally deprecated as
  they will no longer work in future versions of R (#1999).


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/R-testthat/Makefile
cvs rdiff -u -r1.18 -r1.19 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.23 pkgsrc/devel/R-testthat/Makefile:1.24
--- pkgsrc/devel/R-testthat/Makefile:1.23       Sun Sep 22 23:18:09 2024
+++ pkgsrc/devel/R-testthat/Makefile    Sun Dec 15 04:22:40 2024
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.23 2024/09/22 23:18:09 mef Exp $
+# $NetBSD: Makefile,v 1.24 2024/12/15 04:22:40 mef Exp $
 
 R_PKGNAME=     testthat
-R_PKGVER=      3.2.1.1
+R_PKGVER=      3.2.2
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost

Index: pkgsrc/devel/R-testthat/distinfo
diff -u pkgsrc/devel/R-testthat/distinfo:1.18 pkgsrc/devel/R-testthat/distinfo:1.19
--- pkgsrc/devel/R-testthat/distinfo:1.18       Sun Sep 22 23:18:09 2024
+++ pkgsrc/devel/R-testthat/distinfo    Sun Dec 15 04:22:40 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.18 2024/09/22 23:18:09 mef Exp $
+$NetBSD: distinfo,v 1.19 2024/12/15 04:22:40 mef Exp $
 
-BLAKE2s (R/testthat_3.2.1.1.tar.gz) = 9e576c0e6e1aa0a5c2e7dd4adcc4ba772ab23f896ee8abb44da10b142541c776
-SHA512 (R/testthat_3.2.1.1.tar.gz) = 25150243ae981f69272270e016aec85cbd83ecd6b42c53fb41efc064278b212a7f7593805500ad3a5a74836d25ce2afea47d636d6c5aee417b0e55522cd2e9e3
-Size (R/testthat_3.2.1.1.tar.gz) = 739761 bytes
+BLAKE2s (R/testthat_3.2.2.tar.gz) = e57a6fcc4e2815d205945509749341191e3d263be884f060de11b525a0ea1e7e
+SHA512 (R/testthat_3.2.2.tar.gz) = b6b339492a4520d16f39781048c762c436b683e7e1912fa7012b9dd00ae4e7cc44f8b9c6431e67723bb39ca17a149500ba35c4f77893a8af85a07e08a03620b2
+Size (R/testthat_3.2.2.tar.gz) = 738898 bytes



Home | Main Index | Thread Index | Old Index