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.1.4 to 3...
details: https://anonhg.NetBSD.org/pkgsrc/rev/983fd6ce3975
branches: trunk
changeset: 390128:983fd6ce3975
user: mef <mef%pkgsrc.org@localhost>
date: Sat Dec 17 03:28:15 2022 +0000
description:
(devel/R-testthat) Updated 3.1.4 to 3.1.5
# testthat 3.1.5
* Deprecation warnings are no longer captured by `expect_warning(code, NA)`,
`expect_no_warning(code)`, or `expect_silent(code)`. This ensures that they
bubble up to the top level so that you can address them (#1680). If you want
to assert that code does not throw a deprecation warning, use
`expect_no_condition(code(), class = "lifecycle_warning_deprecation")`.
* New experimental `expect_no_error()`, `expect_no_warning()`,
`expect_no_message()`, and `expect_no_condition()` for asserting
the code runs without an error, warning, message, or condition (#1679).
* Fixed a warning in R >=4.2.0 on Windows that occurred when using the C++
testing infrastructure that testthat provides (#1672).
* Fixed an issue that could prevent compilation of Catch unit tests with
LLVM 15. In the interim, packages needing a local workaround can set
`PKG_CPPFLAGS = -DCATCH_CONFIG_CPP11_NO_SHUFFLE` in their `src/Makevars`.
(@kevinushey, #1687)
* Improve way `capture_output()` handles encoding thanks to suggestion from
Kurt Hornik (#1693). This means that snapshots using UTF-8 encoded text on
windows work once again.
* `local_reproducible_output()` will no longer attempt to set the local language
when `LANG='C'` is set or an R version is used that was not compiled with
natural language support (NLS), which would previously emit non-test-related
warnings during testing (@dgkf, #1662; @heavywatal, #1689).
* `test_check()` now suppresses hyperlinks since they'll take you to the wrong
places (#1648).
* New `set_max_fails()` helper to make it easier to set the maximum number of
failures before stopping the test suite. And the advice to set to Inf is
now clickable (#1628).
* You can now configure the behaviour of the implicit
`devtools::load_all()` call performed by `devtools::test()` in your
package DESCRIPTION file (#1636). To disable exports of internal
functions and of testthat helpers, use:
```
Config/testthat/load-all: list(export_all = FALSE, helpers = FALSE)
```
Helpers are now attached on the search path by default after calling
`devtools::test()`.
diffstat:
devel/R-testthat/Makefile | 5 +++--
devel/R-testthat/distinfo | 8 ++++----
2 files changed, 7 insertions(+), 6 deletions(-)
diffs (34 lines):
diff -r 41957ca0e1e3 -r 983fd6ce3975 devel/R-testthat/Makefile
--- a/devel/R-testthat/Makefile Sat Dec 17 03:14:33 2022 +0000
+++ b/devel/R-testthat/Makefile Sat Dec 17 03:28:15 2022 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2022/05/02 14:47:49 mef Exp $
+# $NetBSD: Makefile,v 1.16 2022/12/17 03:28:15 mef Exp $
R_PKGNAME= testthat
-R_PKGVER= 3.1.4
+R_PKGVER= 3.1.5
CATEGORIES= devel
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -33,6 +33,7 @@
TEST_DEPENDS+= tex-inconsolata-[0-9]*:../../fonts/tex-inconsolata
TEST_DEPENDS+= R-brio-[0-9]*:../../devel/R-brio
TEST_DEPENDS+= R-desc-[0-9]*:../../devel/R-desc
+TEST_DEPENDS+= R-shiny-[0-9]*:../../www/R-shiny
USE_LANGUAGES= c c++
diff -r 41957ca0e1e3 -r 983fd6ce3975 devel/R-testthat/distinfo
--- a/devel/R-testthat/distinfo Sat Dec 17 03:14:33 2022 +0000
+++ b/devel/R-testthat/distinfo Sat Dec 17 03:28:15 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2022/05/02 14:42:48 mef Exp $
+$NetBSD: distinfo,v 1.12 2022/12/17 03:28:15 mef Exp $
-BLAKE2s (R/testthat_3.1.4.tar.gz) = ff09d43afa065e19aca824b2b31d191404effac08c5031f7d891782a6173c374
-SHA512 (R/testthat_3.1.4.tar.gz) = ae0f0007c085fe951e04b9682a6758d811f3d240249302d440f58ea7b3f7271d692f26df247d7edc50a2150293026003b299f5e36ba2044930c2d60940221730
-Size (R/testthat_3.1.4.tar.gz) = 700919 bytes
+BLAKE2s (R/testthat_3.1.5.tar.gz) = 784d996d3895c349385f3cba9f3db9b91f6d2d8e56c3b0c6031473aee7f35e34
+SHA512 (R/testthat_3.1.5.tar.gz) = 1e7c7875293e2a174228e4adc6d2aeafe78395d39c365188fb3cf7f776e63b8fa6758980049a3259db261b5ed439d6de1666ec5c9b015e280edcc1ae6bf27518
+Size (R/testthat_3.1.5.tar.gz) = 708287 bytes
Home |
Main Index |
Thread Index |
Old Index