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.0.0 to 3...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/61434719477e
branches:  trunk
changeset: 443915:61434719477e
user:      mef <mef%pkgsrc.org@localhost>
date:      Fri Jan 01 04:28:35 2021 +0000

description:
(devel/R-testthat) Updated 3.0.0 to 3.0.1

# testthat 3.0.1

* New `testthat.progress.verbose_skips` option. Set to `FALSE` to stop
  reporting skips as they occur; they will still appear in the summary
  (#1209, @krlmlr).

* `CheckReporter` results have been tweaked based on experiences from running
  R CMD check on many packages. Hopefully it should now be easier to see
  the biggest problems (i.e. failures and errors) while still having
  skips and warnings available to check if needed (#1274). And now the full
  test name is always shown, no matter how long (#1268).

* Catch C++ tests are no longer reported multiple times (#1237) and
  are automatically skipped on Solaris since Catch is not supported (#1257).
  `use_catch()` makes it more clear that your package needs to suggest
  xml2 (#1235).

* `auto_test_package()` works once again (@mbojan, #1211, #1214).

* `expect_snapshot()` gains new `error` argument which controls whether or not
  an error is expected. If an unexpected error is thrown, or an expected error
  is not thrown, `expect_snapshot()` will fail (even on CRAN) (#1200).

* `expect_snapshot_value(style = "deparse")` handles more common R data
  structures.

* `expect_snapshot_value()` now passes `...` on to `waldo::compare()` (#1222).

* `expect_snapshot_file()` gives a hint as to next steps when a failure
  occurs in non-interactive environments (with help from @maelle, #1179).
  `expect_snapshot_*()` gives a more informative hint when you're running
  tests interactively (#1226).

* `expect_snapshot_*()` automatically removes the `_snaps` directory if
  it's empty (#1180). It also warns if snapshots are discarded because tests
  have duplicated names (#1278, @krlmlr).

* `local_reproducible_output()` now sets the LANGUAGE env var to "en". This
  matches the behaviour of R CMD check in interactive settings (#1213).
  It also now unsets RSTUDIO envvar, instead of setting it to 0 (#1225).

* `RstudioReporter` has been renamed to `RStudioReporter`.

* `skip_if_not()` no longer appends "is not TRUE" to custom messages
  (@dpprdan, #1247).

* `test_that()` now warns (3e only) if code doesn't have braces, since
  that makes it hard to track the source of an error (#1280, @krlmlr).

diffstat:

 devel/R-testthat/Makefile |  16 ++++++++--------
 devel/R-testthat/distinfo |  10 +++++-----
 2 files changed, 13 insertions(+), 13 deletions(-)

diffs (61 lines):

diff -r ab1c94bb79e4 -r 61434719477e devel/R-testthat/Makefile
--- a/devel/R-testthat/Makefile Fri Jan 01 04:15:16 2021 +0000
+++ b/devel/R-testthat/Makefile Fri Jan 01 04:28:35 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2020/12/16 23:41:00 mef Exp $
+# $NetBSD: Makefile,v 1.9 2021/01/01 04:28:35 mef Exp $
 
 R_PKGNAME=     testthat
-R_PKGVER=      3.0.0
+R_PKGVER=      3.0.1
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -9,18 +9,18 @@
 LICENSE=       mit
 
 DEPENDS+=      R-R6>=2.4.0:../../devel/R-R6
-DEPENDS+=      R-cli>=1.1.0:../../devel/R-cli
+DEPENDS+=      R-cli>=2.2.0:../../devel/R-cli
 DEPENDS+=      R-crayon>=1.3.4:../../devel/R-crayon
 DEPENDS+=      R-evaluate>=0.14:../../devel/R-evaluate
 DEPENDS+=      R-magrittr>=1.5:../../devel/R-magrittr
-DEPENDS+=      R-rlang>=0.4.1:../../devel/R-rlang
-DEPENDS+=      R-withr>=2.0.0:../../devel/R-withr
+DEPENDS+=      R-rlang>=0.4.9:../../devel/R-rlang
+DEPENDS+=      R-withr>=2.3.0:../../devel/R-withr
 DEPENDS+=      R-praise>=1.0.0:../../misc/R-praise
 DEPENDS+=      R-digest>=0.6.20:../../security/R-digest
-DEPENDS+=      R-ellipsis-[0-9]*:../../math/R-ellipsis
+DEPENDS+=      R-ellipsis>=0.2.0:../../math/R-ellipsis
 DEPENDS+=      R-pkgload-[0-9]*:../../devel/R-pkgload
 DEPENDS+=      R-brio-[0-9]*:../../devel/R-brio
-DEPENDS+=      R-waldo-[0-9]*:../../devel/R-waldo
+DEPENDS+=      R-waldo>=0.2.1:../../devel/R-waldo
 DEPENDS+=      R-ps>=1.5.0:../../sysutils/R-ps
 DEPENDS+=      R-lifecycle-[0-9]*:../../devel/R-lifecycle
 DEPENDS+=      R-jsonlite-[0-9]*:../../textproc/R-jsonlite
@@ -29,7 +29,7 @@
 TEST_DEPENDS+= R-rematch2-[0-9]*:../../devel/R-rematch2
 TEST_DEPENDS+= R-mockery-[0-9]*:../../devel/R-mockery
 TEST_DEPENDS+= R-diffviewer-[0-9]*:../../www/R-diffviewer
-TEST_DEPENDS+= R-callr>=3.5.0:../../devel/R-callr
+TEST_DEPENDS+= R-callr>=3.5.1:../../devel/R-callr
 
 USE_LANGUAGES= c c++
 
diff -r ab1c94bb79e4 -r 61434719477e devel/R-testthat/distinfo
--- a/devel/R-testthat/distinfo Fri Jan 01 04:15:16 2021 +0000
+++ b/devel/R-testthat/distinfo Fri Jan 01 04:28:35 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2020/12/14 03:45:41 mef Exp $
+$NetBSD: distinfo,v 1.5 2021/01/01 04:28:36 mef Exp $
 
-SHA1 (R/testthat_3.0.0.tar.gz) = 96c76f633e6e9bc383f1276fcf1b63cb90e7a427
-RMD160 (R/testthat_3.0.0.tar.gz) = dcc8bc5cc3367803eef0145ea7a6567a0556293d
-SHA512 (R/testthat_3.0.0.tar.gz) = 2139df3a176fce8b037bb5e2cbf7fa4855a453c4ac21475d6ed4754dde7b0e05c8a9d388e7b517e76e88c9b88003622cd81c4aa5e59f64f75c6c05c78841dc1f
-Size (R/testthat_3.0.0.tar.gz) = 674403 bytes
+SHA1 (R/testthat_3.0.1.tar.gz) = 39c9b1b82f6362d2becee5471f697a1a3a8dd12c
+RMD160 (R/testthat_3.0.1.tar.gz) = 7beb941e4457616339e58614c920dda907978d48
+SHA512 (R/testthat_3.0.1.tar.gz) = 2608bacb54f03795d7ce3dfa45b9041c03d423cd8bc99427efd010b464b9a1e4602e9fb56560c484083eddd4c42b15f82c8135a14241f1e2c08665456eddeeb3
+Size (R/testthat_3.0.1.tar.gz) = 678199 bytes



Home | Main Index | Thread Index | Old Index