pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/R-mockery devel/R-mockery: import R-mockery-0.4.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1e9e611749da
branches:  trunk
changeset: 421227:1e9e611749da
user:      mef <mef%pkgsrc.org@localhost>
date:      Mon Jan 13 09:17:00 2020 +0000

description:
devel/R-mockery: import R-mockery-0.4.2

The two main functionalities of this package are creating mock objects
(functions) and selectively intercepting calls to a given function
that originate in some other function. It can be used with any testing
framework available for R. Mock objects can be injected with either
this package's own stub() function or a similar with_mock() facility
present in the 'testthat' package.

diffstat:

 devel/R-mockery/DESCR    |   6 ++++++
 devel/R-mockery/Makefile |  16 ++++++++++++++++
 devel/R-mockery/distinfo |   6 ++++++
 3 files changed, 28 insertions(+), 0 deletions(-)

diffs (40 lines):

diff -r fba771909dde -r 1e9e611749da devel/R-mockery/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/R-mockery/DESCR     Mon Jan 13 09:17:00 2020 +0000
@@ -0,0 +1,6 @@
+The two main functionalities of this package are creating mock objects
+(functions) and selectively intercepting calls to a given function
+that originate in some other function. It can be used with any testing
+framework available for R. Mock objects can be injected with either
+this package's own stub() function or a similar with_mock() facility
+present in the 'testthat' package.
diff -r fba771909dde -r 1e9e611749da devel/R-mockery/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/R-mockery/Makefile  Mon Jan 13 09:17:00 2020 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2020/01/13 09:17:00 mef Exp $
+
+R_PKGNAME=     mockery
+R_PKGVER=      0.4.2
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Mocking Library for R
+LICENSE=       mit     # + file LICENSE
+
+DEPENDS+=      R-testthat>=2.2.1:../../devel/R-testthat
+
+USE_LANGUAGES= # none
+
+.include "../../math/R/Makefile.extension"
+.include "../../mk/bsd.pkg.mk"
diff -r fba771909dde -r 1e9e611749da devel/R-mockery/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/R-mockery/distinfo  Mon Jan 13 09:17:00 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/13 09:17:00 mef Exp $
+
+SHA1 (R/mockery_0.4.2.tar.gz) = 1bae0ecd0d51069620820ce3b3f2ef57dd8f6e99
+RMD160 (R/mockery_0.4.2.tar.gz) = e8b995195d903462aad84873f3755fdf6fe4d5a8
+SHA512 (R/mockery_0.4.2.tar.gz) = 7952f687cf109cfee21310733dcd9a676e744fc18a21ebf9962f2f3a49927b3285cd8c25e64c5b17bc0216c296218eb7aaef2ca8d284190e3fcb1d2e3bfb1735
+Size (R/mockery_0.4.2.tar.gz) = 19837 bytes



Home | Main Index | Thread Index | Old Index