pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/R-tinytest
Module Name: pkgsrc
Committed By: mef
Date: Thu Aug 19 14:45:48 UTC 2021
Modified Files:
pkgsrc/devel/R-tinytest: Makefile distinfo
Log Message:
(devel/R-tinytest) Updated 1.2.2 to 1.3.1
version 1.3.1
- expect_error, _warning, _message, _stdout now accept ... arguments
that are passed as extra arguments to 'grepl', when a pattern is
provided (Thanks to Bart-Jan van Rossum for the GH issue).
- Package now also resets locale settings after each file run,
and 'report_side_effects' also tracks changes in locale settings.
- Run test directories via RStudio addin. (Thanks to Matthijs Berends
for PR #83)
- tinytest used to implicitly depend on R >= 3.2.0 because of using
'trimws' and 'dir.exists'. (Thanks to Sebastian Meyer for figuring
this out and thanks to Matthijs Berends for PR #84 solving this)
- 'tinytest' objects now store the stack trace as a list of calls. When
needed, the relevant part of the trace is printed, but only when printing the
long form. (thanks to Jonas Kristoffer Lindeloef for suggesting)
- Improved printing while running tests
- Graphics produced in tests are now written to nullfile() (Thanks to Henrik
Bengtsson for the suggestion). (nullfile() is defined in-package when
built on R < 3.6.0).
- Fixed time measurement when directory (or pkg) is tested and tests take more
than an minute.
- Fix: set_env variables would not be unset in all cases (Thanks to Henrik
Bengtsson for the PR)
- Fix in 'expect_equal': reporting in case of differing attributes (Thanks to
Ott Toomet for reporting #80).
- Fix in build_install_test: better reading of DESCRIPTION file (Thanks
to Christof Stepper for PR #87)
version 1.2.4
- 'test_package' gains 'lib.loc' argument.
- New function 'expect_inherits' to check the class of an object (thanks
to Sebastian Meyer for suggesting).
- Printing of file exit message is now shorter and on same line as test
report (thanks for Dirk Eddelbuettel for suggesting).
- Duration per file is now reported, total duration is stored (thanks
to Dirk Eddelbuettel for suggesting)
- Small improvements in difference reporting.
- Fix: avoid truncated printing in case of long diff reporting (thanks to
Sebastian Meyer for the PR)
- Fix: default pattern for test files was "^test_", is now "^test"
as documented. (Thanks to Sebastian Meyer for the PR).
- Fix: it is now easier to put tests that you do not want to
install under /tests/somedir.
- Internal: updated tinytest.format method to conform to new
R CMD check demand. (Thanks to Brian Ripley for the warning).
version 1.2.3
- Added example to using tinytest vignette on mocking databases
(Thanks to Thomas Fuchs for working this out).
- 'expect_stdout' now handles multi-line output. (Thanks to John Blischak for
reporting).
- A message is issued when a test file uses 'tinytest::expect': such tests
are not registered (thanks to James Thompson for issuing a ticket on this).
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/R-tinytest/Makefile \
pkgsrc/devel/R-tinytest/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-tinytest/Makefile
diff -u pkgsrc/devel/R-tinytest/Makefile:1.1 pkgsrc/devel/R-tinytest/Makefile:1.2
--- pkgsrc/devel/R-tinytest/Makefile:1.1 Sat Aug 1 21:48:17 2020
+++ pkgsrc/devel/R-tinytest/Makefile Thu Aug 19 14:45:48 2021
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2020/08/01 21:48:17 mef Exp $
+# $NetBSD: Makefile,v 1.2 2021/08/19 14:45:48 mef Exp $
R_PKGNAME= tinytest
-R_PKGVER= 1.2.2
+R_PKGVER= 1.3.1
CATEGORIES= devel
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -10,5 +10,8 @@ LICENSE= gnu-gpl-v3
USE_LANGUAGES= # none
+TEST_DEPENDS+= tex-xcolor-[0-9]*:../../print/tex-xcolor
+TEST_DEPENDS+= tex-sectsty-[0-9]*:../../print/tex-sectsty
+
.include "../../math/R/Makefile.extension"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/R-tinytest/distinfo
diff -u pkgsrc/devel/R-tinytest/distinfo:1.1 pkgsrc/devel/R-tinytest/distinfo:1.2
--- pkgsrc/devel/R-tinytest/distinfo:1.1 Sat Aug 1 21:48:17 2020
+++ pkgsrc/devel/R-tinytest/distinfo Thu Aug 19 14:45:48 2021
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2020/08/01 21:48:17 mef Exp $
+$NetBSD: distinfo,v 1.2 2021/08/19 14:45:48 mef Exp $
-SHA1 (R/tinytest_1.2.2.tar.gz) = 5eda44ad2835386dfcafb72cd30213d14bb2b9e0
-RMD160 (R/tinytest_1.2.2.tar.gz) = be67da336e3ece37d017203285f403f64c2c3371
-SHA512 (R/tinytest_1.2.2.tar.gz) = 2a7cbc070d40b8d3562a1aee69c02436613d29ea94b2a08bddd825b8ae4d6de4476c50acab01e54b198458d10f0fbf7f82e416c72e1d9e6013ef86e51938e332
-Size (R/tinytest_1.2.2.tar.gz) = 436173 bytes
+SHA1 (R/tinytest_1.3.1.tar.gz) = 72ddb99a021584799aa42f735c22d3563a83e5f5
+RMD160 (R/tinytest_1.3.1.tar.gz) = 3a3b7b0ed7da281f12292c7901290ad5abc0108b
+SHA512 (R/tinytest_1.3.1.tar.gz) = bb580f42f47375e730a698072645c1cb8c5e6d46c8ab2e69b2fbd4c0f9edd5c97ddbbc0d4d3cc35d3d785e937f10d74a4c2c41f86777add8c81ec43c884bc019
+Size (R/tinytest_1.3.1.tar.gz) = 445398 bytes
Home |
Main Index |
Thread Index |
Old Index