diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2018-10-25 05:16:34 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2018-10-25 05:17:42 +0200 |
commit | 3b8a3f554811f675bc68d997476dabd8bf82ae1f (patch) | |
tree | fe90aa9a922fdd895193c4ac184f09e1bb594dd7 /gnu/packages | |
parent | 9b3ecb60e2bb5eabaa70d0682e99e735561ce48c (diff) | |
download | patches-3b8a3f554811f675bc68d997476dabd8bf82ae1f.tar patches-3b8a3f554811f675bc68d997476dabd8bf82ae1f.tar.gz |
gnu: Add r-tmb.
* gnu/packages/cran.scm (r-tmb): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/cran.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index a75c19a1f1..77eb389bdd 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -6455,3 +6455,31 @@ convenient functionality for users, but also a common set of functions that can be easily used by developers working on a variety of R packages for Bayesian modeling.") (license license:gpl3+))) + +(define-public r-tmb + (package + (name "r-tmb") + (version "1.7.14") + (source + (origin + (method url-fetch) + (uri (cran-uri "TMB" version)) + (sha256 + (base32 + "0bpc504nz8xfwr8ack52dj4hpjcykn6zyf8n228z32dw9d5n96dl")))) + (properties `((upstream-name . "TMB"))) + (build-system r-build-system) + (propagated-inputs + `(("r-matrix" ,r-matrix) + ("r-rcppeigen" ,r-rcppeigen))) + (home-page "http://tmb-project.org") + (synopsis "Template model builder: a general random effect tool") + (description + "With this tool, a user should be able to quickly implement complex +random effect models through simple C++ templates. The package combines +@code{CppAD} (C++ automatic differentiation), @code{Eigen} (templated +matrix-vector library) and @code{CHOLMOD} (sparse matrix routines available +from R) to obtain an efficient implementation of the applied Laplace +approximation with exact derivatives. Key features are: Automatic sparseness +detection, parallelism through BLAS and parallel user templates.") + (license license:gpl2))) |