pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/R-mockr (devel/R-mockr) import R-mockr-0.2.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8371ed5f1cd1
branches:  trunk
changeset: 378193:8371ed5f1cd1
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat Apr 30 05:19:03 2022 +0000

description:
(devel/R-mockr) import R-mockr-0.2.0

Provides a means to mock a package function, i.e., temporarily
substitute it for testing. Designed as a drop-in replacement for the
now deprecated 'testthat::with_mock()' and 'testthat::local_mock()'.

diffstat:

 devel/R-mockr/DESCR    |   3 +++
 devel/R-mockr/Makefile |  25 +++++++++++++++++++++++++
 devel/R-mockr/distinfo |   5 +++++
 3 files changed, 33 insertions(+), 0 deletions(-)

diffs (45 lines):

diff -r 3456b70921c4 -r 8371ed5f1cd1 devel/R-mockr/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/R-mockr/DESCR       Sat Apr 30 05:19:03 2022 +0000
@@ -0,0 +1,3 @@
+Provides a means to mock a package function, i.e., temporarily
+substitute it for testing. Designed as a drop-in replacement for the
+now deprecated 'testthat::with_mock()' and 'testthat::local_mock()'.
diff -r 3456b70921c4 -r 8371ed5f1cd1 devel/R-mockr/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/R-mockr/Makefile    Sat Apr 30 05:19:03 2022 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2022/04/30 05:19:03 mef Exp $
+
+R_PKGNAME=     mockr
+R_PKGVER=      0.2.0
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Mocking in R
+LICENSE=       gnu-gpl-v3
+
+DEPENDS+=      R-rlang>=1.0.2:../../devel/R-rlang
+DEPENDS+=      R-withr>=2.5.0:../../devel/R-withr
+
+TEST_DEPENDS+= R-fs-[0-9]*:../../devel/R-fs
+TEST_DEPENDS+= R-covr-[0-9]*:../../devel/R-covr
+TEST_DEPENDS+= R-knitr-[0-9]*:../../print/R-knitr
+TEST_DEPENDS+= R-pkgload-[0-9]*:../../devel/R-pkgload
+TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown
+TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat
+TEST_DEPENDS+= R-usethis-[0-9]*:../../devel/R-usethis
+
+USE_LANGUAGES= # none
+
+.include "../../math/R/Makefile.extension"
+.include "../../mk/bsd.pkg.mk"
diff -r 3456b70921c4 -r 8371ed5f1cd1 devel/R-mockr/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/R-mockr/distinfo    Sat Apr 30 05:19:03 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/04/30 05:19:03 mef Exp $
+
+BLAKE2s (R/mockr_0.2.0.tar.gz) = b77c29ad3b9f87d9be3daf94f3eaf612a1e655f903ff8cb48428eba60e26f01f
+SHA512 (R/mockr_0.2.0.tar.gz) = 06554d4f0e4c25a2a809907a50af3799a4f0321429feb5efc86ed34e840a9d4634585df811370ea8624a61a79da73d29ab93de0751a38868ce7e0aaebe006ee6
+Size (R/mockr_0.2.0.tar.gz) = 21539 bytes



Home | Main Index | Thread Index | Old Index