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 18 13:59:10 UTC 2023

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

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

# testthat 3.1.9

* New `expect_contains()` and `expect_in()` that works similarly to
  `expect_true(all(expected %in% object))` or
  `expect_true(all(object %in% expected))` but give more informative failure
  messages (#1346).

* New `is_snapshot()` returns `TRUE` if code is running inside a snapshot test
  (#1796) and `is_checking()` returns `TRUE` if test is running inside of
  `R CMD check` (#1795)

* `ProgressReporter` only reports the run time of test files that take longer
  than 1s, rather than 0.1s. (#1806) and re-displays all failures at the end
  of the results. Skips are now only shown at the end of reporter summaries,
  not as tests are run. This makes them less intrusive in interactive tests
  while still allowing you to verify that the correct tests are skipped (#1801).
  When using parallel tests, links to failed tests (#1787) and links to
  accept/review snapshot (#1802) now work.

* `set_state_inspector()` allows to to register a function that's called
  before and after every test, reporting on any differences. This
  is very useful for detecting if any of your tests have made changes to
  global state (like options, env vars, or connections) (#1674). This
  function was inspired by renv's testing infrastructure.

* `skip_on_cran()` no longer skips (errors) when run interactively.

* `teardown_env()` works in more cases.

* All packages, regardless of whether or not they use rlang, now
  use the new snapshot display for errors, warnings, and messages.

* testthat no longer truncates tracebacks and uses rlang's default tree
  display.


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

Index: pkgsrc/devel/R-testthat/distinfo
diff -u pkgsrc/devel/R-testthat/distinfo:1.14 pkgsrc/devel/R-testthat/distinfo:1.15
--- pkgsrc/devel/R-testthat/distinfo:1.14       Sun Jun  4 07:23:58 2023
+++ pkgsrc/devel/R-testthat/distinfo    Sun Jun 18 13:59:10 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.14 2023/06/04 07:23:58 mef Exp $
+$NetBSD: distinfo,v 1.15 2023/06/18 13:59:10 mef Exp $
 
-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
+BLAKE2s (R/testthat_3.1.9.tar.gz) = e6adf1948bec61a9b27decc2de7e3dcc72479589e5675f69b177bfc7f68529c4
+SHA512 (R/testthat_3.1.9.tar.gz) = b181901794296911bb84b55cc8f588a0a64c45de44aa4e279ffda29b12285585534a066c2801fb88b1b73f547438bbdf5d30d9697413c6b0a93badb78e8403f3
+Size (R/testthat_3.1.9.tar.gz) = 736491 bytes



Home | Main Index | Thread Index | Old Index