[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
136/377: gnu: Add r-mockery.
From: |
guix-commits |
Subject: |
136/377: gnu: Add r-mockery. |
Date: |
Thu, 2 Sep 2021 17:55:05 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit db438e2dff2861ecbdaf89f6bcdcefab22278c7f
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Aug 26 11:45:57 2021 +0200
gnu: Add r-mockery.
* gnu/packages/cran.scm (r-mockery): New variable.
---
gnu/packages/cran.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index b80f3b7..8a07540 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -31284,3 +31284,31 @@ request conditions and response conditions. You can
match on HTTP method,
query parameters, request body, headers and more. It can be used for unit
tests or outside of a testing context.")
(license license:expat)))
+
+(define-public r-mockery
+ (package
+ (name "r-mockery")
+ (version "0.4.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "mockery" version))
+ (sha256
+ (base32
+ "16zayzi2qdmiy513hvlci9f4p8jwry24006yfzrgmrvf6sf293lq"))))
+ (properties `((upstream-name . "mockery")))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-testthat" ,r-testthat)))
+ (native-inputs
+ `(("r-knitr" ,r-knitr)))
+ (home-page "https://github.com/jfiksel/mockery")
+ (synopsis "Mocking library for R")
+ (description
+ "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 @code{stub} function or a similar @code{with_mock} facility
+present in the @code{testthat} package.")
+ (license license:expat)))
- 131/377: gnu: Add r-zonator., (continued)
- 131/377: gnu: Add r-zonator., guix-commits, 2021/09/02
- 127/377: gnu: Add r-zooimage., guix-commits, 2021/09/02
- 137/377: gnu: Add r-zoltr., guix-commits, 2021/09/02
- 143/377: gnu: Add rust-fd-lock-3., guix-commits, 2021/09/02
- 146/377: gnu: Add rust-parquet-5., guix-commits, 2021/09/02
- 54/377: gnu: r-vroom: Update to 1.5.4., guix-commits, 2021/09/02
- 106/377: gnu: Add r-rfigshare., guix-commits, 2021/09/02
- 66/377: gnu: r-ensembldb: Update to 2.16.4., guix-commits, 2021/09/02
- 128/377: gnu: r-dismo: Remove commented input., guix-commits, 2021/09/02
- 134/377: gnu: Add r-fauxpas., guix-commits, 2021/09/02
- 136/377: gnu: Add r-mockery.,
guix-commits <=
- 144/377: gnu: Add rust-rustyline-9., guix-commits, 2021/09/02
- 153/377: gnu: Add rust-flatbuffers-2., guix-commits, 2021/09/02
- 148/377: gnu: Add rust-polars-arrow-0.15., guix-commits, 2021/09/02
- 156/377: gnu: rust-zstd-safe-4: Update to 4.1.1+zstd.1.5.0., guix-commits, 2021/09/02
- 157/377: gnu: Add rust-zstd-0.9., guix-commits, 2021/09/02
- 159/377: gnu: colobot: Update to 0.2.0-alpha., guix-commits, 2021/09/02
- 161/377: gnu: ccache: Update to 3.4., guix-commits, 2021/09/02
- 163/377: gnu: emacs-vertico: Add new phase after unpack., guix-commits, 2021/09/02
- 165/377: gnu: python-pytest-xprocess: Update to 0.18.1., guix-commits, 2021/09/02
- 167/377: gnu: emacs-auctex: Update to 13.0.14., guix-commits, 2021/09/02