Patchwork [2/2] gnu: Add r-bit64.

login
register
mail settings
Submitter Ben Woodcroft
Date Dec. 13, 2016, 10 a.m.
Message ID <20161213100008.19640-2-donttrustben@gmail.com>
Download mbox | patch
Permalink /patch/18423/
State New
Headers show

Comments

Ben Woodcroft - Dec. 13, 2016, 10 a.m.
* gnu/packages/statistics.scm (r-bit64): New variable.
---
 gnu/packages/statistics.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
Ricardo Wurmus - Dec. 13, 2016, 4:33 p.m.
Hi Ben,

> * gnu/packages/statistics.scm (r-bit64): New variable.
> ---
>  gnu/packages/statistics.scm | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
>
> diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
> index ea9ef0e39..8af94e6af 100644
> --- a/gnu/packages/statistics.scm
> +++ b/gnu/packages/statistics.scm
> @@ -228,6 +228,32 @@ means factor of 32 less RAM and a factor of 32 more speed on boolean
>  operations.")
>      (license license:gpl2)))
>  
> +(define-public r-bit64
> +  (package
> +    (name "r-bit64")
> +    (version "0.9-5")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (cran-uri "bit64" version))
> +       (sha256
> +        (base32
> +         "0fz5m3fhvxgwjl76maag7yn0zdw24rx34gy6v77378fajag9yllg"))))
> +    (build-system r-build-system)
> +    (propagated-inputs
> +     `(("r-bit" ,r-bit)))
> +    (home-page "http://ff.r-forge.r-project.org/")
> +    (synopsis "An S3 class for vectors of 64 bit Integers")

s/An//

also “integers” (not “Integers”)

> +    (description
> +     "The bit64 package provides serializable S3 atomic 64 bit (signed)
> +integers that can be used in vectors, matrices, arrays and
> data.frames.

@code{data.frames} ?

> +Methods are available for coercion from and to logicals, integers, doubles,
> +characters and factors as well as many elementwise and summary functions.
> +Many fast algorithmic operations such as 'match' and 'order' support

@code{match} and @code{order}

> +interactive data exploration and manipulation and optionally leverage
> +caching.")
> +    (license license:gpl2)))
> +
>  (define-public r-colorspace
>    (package
>      (name "r-colorspace")

Thanks!

Patch

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index ea9ef0e39..8af94e6af 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -228,6 +228,32 @@  means factor of 32 less RAM and a factor of 32 more speed on boolean
 operations.")
     (license license:gpl2)))
 
+(define-public r-bit64
+  (package
+    (name "r-bit64")
+    (version "0.9-5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "bit64" version))
+       (sha256
+        (base32
+         "0fz5m3fhvxgwjl76maag7yn0zdw24rx34gy6v77378fajag9yllg"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-bit" ,r-bit)))
+    (home-page "http://ff.r-forge.r-project.org/")
+    (synopsis "An S3 class for vectors of 64 bit Integers")
+    (description
+     "The bit64 package provides serializable S3 atomic 64 bit (signed)
+integers that can be used in vectors, matrices, arrays and data.frames.
+Methods are available for coercion from and to logicals, integers, doubles,
+characters and factors as well as many elementwise and summary functions.
+Many fast algorithmic operations such as 'match' and 'order' support
+interactive data exploration and manipulation and optionally leverage
+caching.")
+    (license license:gpl2)))
+
 (define-public r-colorspace
   (package
     (name "r-colorspace")