summaryrefslogtreecommitdiff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <[email protected]>2025-01-23 15:38:29 +0100
committerRicardo Wurmus <[email protected]>2025-01-23 15:59:20 +0100
commit979ef5f4015770750df8642df80b0ef9fd652ae2 (patch)
tree6e58fef23c952726041be667f292edb77f9b865a /gnu/packages/cran.scm
parent08f18a48e3a01e8add4a02f9ed6681fefc68a825 (diff)
gnu: Add r-rcppint64.
* gnu/packages/cran.scm (r-rcppint64): New variable. Change-Id: Ib6927919d76a0ef216521430f1868ab671a35296
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 3983948b17..2c6082eacc 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -8874,6 +8874,33 @@ code using Rcpp or RcppArmadillo. Functions are available that return a
distributions, Armadillo vectors and matrices.")
(license license:gpl2+)))
+(define-public r-rcppint64
+ (package
+ (name "r-rcppint64")
+ (version "0.0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "RcppInt64" version))
+ (sha256
+ (base32 "1h4lshkn3p3c7swygbpmkg0pa80xcp3f9alck5q4bmml61hicwjk"))))
+ (properties `((upstream-name . "RcppInt64")))
+ (build-system r-build-system)
+ (propagated-inputs (list r-rcpp))
+ (native-inputs (list r-tinytest))
+ (home-page "https://github.com/eddelbuettel/rcppint64")
+ (synopsis
+ "Rcpp-based helper functions to pass Int64 values between R and C++")
+ (description
+ "@code{int64} values can be created and accessed via the @code{bit64}
+package and its @code{integer64} class which package the @code{int64}
+representation cleverly into a @code{double}. The @code{nanotime} package
+builds on this to support nanosecond-resolution timestamps. This package
+helps conversions between R and C++ via several helper functions provided via
+a single header file. A complete example client package is included as an
+illustration.")
+ (license license:gpl2+)))
+
(define-public r-rcppml
(package
(name "r-rcppml")