Subject: [PATCH v2 2/3] gnu: Add r-locpol.

From: Aniket Patil <[email-masked]>
Date: Wed, 28 Oct 2020 13:21:38 +0530

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ce2d860135..20ebb06c67 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -24664,3 +24664,25 @@ See details in: Wang, X.F.  and Wang, B. (2011).  Deconvolution
 estimation in measurement error models: The R package decon.  
 Journal of Statistical Software, 39(10), 1-24.")
     (license license:gpl3+)))
+
+(define-public r-locpol
+  (package
+    (name "r-locpol")
+    (version "0.7-0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "locpol" version))
+        (sha256
+          (base32
+            "1p915n0l09kbwkly627074jslxl01yssp1rf0c7sygvsw6sgy5lm"))))
+    (properties `((upstream-name . "locpol")))
+    (build-system r-build-system)
+    (home-page
+      "https://cran.r-project.org/web/packages/locpol")
+    (synopsis "Kernel Local Polynomial Regression")
+    (description
+      "Computes local polynomial estimators for the regression and 
+also density.  It comprises several different utilities to handle 
+kernel estimators.")
+    (license license:gpl2+)))
-- 
2.28.0