summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRoel Janssen <roel@gnu.org>2020-04-27 10:28:50 +0200
committerRoel Janssen <roel@gnu.org>2020-04-27 10:28:50 +0200
commite658838c62062482f2cdcbc2f94aaae9130c1257 (patch)
tree3a47e1117a7f43e4a9ba578e56d62401daf8e28f /gnu/packages/cran.scm
parente8d435f7a2919e8f05fc3822d1a43f50c6c5cc8a (diff)
downloadguix-e658838c62062482f2cdcbc2f94aaae9130c1257.tar.gz
gnu: Add r-bezier.
* gnu/packages/cran.scm (r-bezier): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 246a76a6e2..529424480a 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -83,6 +83,25 @@
   #:use-module (gnu packages web)
   #:use-module (gnu packages xorg))
 
+(define-public r-bezier
+  (package
+    (name "r-bezier")
+    (version "1.1.2")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "bezier" version))
+              (sha256
+               (base32
+                "1vw5128v8h973xwa1fdm9cw2jvrldj87nd55lddlp3qsz3ag4br6"))))
+    (build-system r-build-system)
+    (home-page "https://cran.r-project.org/web/packages/bezier/")
+    (synopsis "Bezier curve and spline toolkit")
+    (description
+     "This package is a toolkit for working with Bezier curves and splines.
+The package provides functions for point generation, arc length estimation,
+degree elevation and curve fitting.")
+    (license license:gpl2+)))
+
 (define-public r-clipr
   (package
     (name "r-clipr")