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 Jun  4 07:23:58 UTC 2023

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

Log Message:
(devel/R-testthat) Updated 3.1.6 to 3.1.8

# testthat 3.1.8

* `expect_snapshot()` differences no longer use quotes.

* `expect_error()`, `expect_warning()`, and `expect_message()` now correctly
  enforce that the condition is of the expected base class (e.g. error,
  warning, messsage) even when the `class` argument is used (#1168).

* `it()` now calls `local_test_context()` so that it behaves more
  similarly to `test_that()` (#1731), and is now exported so that you
  can more easily run BDD tests interactively (#1587)

* `skip_on_bioc()` now uses the documented environment variable
  (`IS_BIOC_BUILD_MACHINE`) (#1712).

* `source_file()`, which is used by various parts of the helper and
  setup/teardown machinery, now reports the file name in the case of
  errors (#1704).

* `test_path()` now works when called within helper files (#1562).

* New `vignette("special-files")` describes the various special files
  that testthat uses (#1638).

* `with_mocked_bindings()` and `local_mocked_bindings()` now also bind in the
  imports namespace and can mock S3 methods. These changes make them good
  substitutes for the deprecated functions `with_mock()` and `local_mock()`, so
  those older functions now recommend switching to the newer equivalents
  instead of using the mockr or mockery packages.

# testthat 3.1.7

* `expect_setequal()` gives more actionable feedback (#1657).

* `expect_snapshot()` no longer elides new lines when run interactively (#1726).

* Experimental new `with_mocked_bindings()` and `local_mocked_bindings()`
  (#1739).


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/R-testthat/Makefile
cvs rdiff -u -r1.13 -r1.14 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.17 pkgsrc/devel/R-testthat/Makefile:1.18
--- pkgsrc/devel/R-testthat/Makefile:1.17       Sat Dec 31 12:41:06 2022
+++ pkgsrc/devel/R-testthat/Makefile    Sun Jun  4 07:23:58 2023
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.17 2022/12/31 12:41:06 mef Exp $
+# $NetBSD: Makefile,v 1.18 2023/06/04 07:23:58 mef Exp $
 
 R_PKGNAME=     testthat
-R_PKGVER=      3.1.6
+R_PKGVER=      3.1.8
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost

Index: pkgsrc/devel/R-testthat/distinfo
diff -u pkgsrc/devel/R-testthat/distinfo:1.13 pkgsrc/devel/R-testthat/distinfo:1.14
--- pkgsrc/devel/R-testthat/distinfo:1.13       Sat Dec 31 12:41:06 2022
+++ pkgsrc/devel/R-testthat/distinfo    Sun Jun  4 07:23:58 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2022/12/31 12:41:06 mef Exp $
+$NetBSD: distinfo,v 1.14 2023/06/04 07:23:58 mef Exp $
 
-BLAKE2s (R/testthat_3.1.6.tar.gz) = 4e2536c4557387f9ad95d79918a353c7ba3c1572d082f1a4c062c9cbea831480
-SHA512 (R/testthat_3.1.6.tar.gz) = 009c4fa0239cfd5f94ee8f7ff83d36e48c7c613066d799458207c29281bc44546b304ef788d04bf71acb459f440d1de2e2212fd5a46591f206fbd32373a5a744
-Size (R/testthat_3.1.6.tar.gz) = 708014 bytes
+BLAKE2s (R/testthat_3.1.8.tar.gz) = a7c0d8a97e9982be5c81e6c8b0ba779c0361b37a645d0f8c3e93d474d14d9ce8
+SHA512 (R/testthat_3.1.8.tar.gz) = 0e003841a4442f16ba4da049c51506f8fd579997296307a8624e4ff0e9efd5f70d9863312ec8433a75695479637944eff37f20d794edb8376222935c0bafeb5b
+Size (R/testthat_3.1.8.tar.gz) = 731157 bytes



Home | Main Index | Thread Index | Old Index