Subject: [bug#32716] [PATCH] gnu: Add r-acceptancesampling.

From: pimi <[email-masked]>
Date: Wed, 12 Sep 2018 11:16:56 +0200

gnu/packages/cran.scm (r-acceptancesampling): New variable.
---
 gnu/packages/cran.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ab989abff..e9ad33763 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -5668,3 +5668,30 @@ Interfaces (GUI) in R.  It is independent from any particular GUI widgets.  It
 centralizes info about GUI elements currently used, and it dispatches GUI
 calls to the particular toolkits in use in function of the context.")
     (license license:gpl2)))
+
+(define-public r-acceptancesampling
+  (package
+    (name "r-acceptancesampling")
+    (version "1.0-5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "AcceptanceSampling" version))
+       (sha256
+        (base32 "18krmmyn8pn11aqd81kbvka68lnd36mnpdh7p3pz9r4m4vjj007x"))))
+    (properties
+     `((upstream-name . "AcceptanceSampling")))
+    (build-system r-build-system)
+    (home-page "https://cran.r-project.org/web/packages/AcceptanceSampling/")
+    (synopsis "Creation and evaluation of acceptance sampling plans")
+    (description
+     "This @code{r-acceptancesampling} provides functionality for creating and evaluating
+acceptance sampling plans.  Acceptance sampling is a methodology commonly used
+in quality control and improvement.  International standards of acceptance
+sampling provide sampling plans for specific circumstances.  The aim of this
+package is to provide an easy-to-use interface to visualize single, double or
+multiple sampling plans.  In addition, methods have been provided to enable the
+user to assess sampling plans against pre-specified levels of performance, as
+measured by the probability of acceptance for a given level of quality in the
+lot.")
+    (license license:gpl3+)))
-- 
2.17.1