From 7166b77adc51072a77911e4734ccfb1ac0590485 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 25 Mar 2019 16:28:38 +0100 Subject: [PATCH] gnu: Add r-sampling. * gnu/packages/cran.scm (r-sampling): New variable. --- gnu/packages/cran.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index f72dc0dc95..4ba686e90e 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -12824,3 +12824,24 @@ (define-public r-hapassoc cross-sectional studies. They can accommodate uncertain haplotype phase and handle missing genotypes at some SNPs.") (license license:gpl2))) + +(define-public r-sampling + (package + (name "r-sampling") + (version "2.8") + (source + (origin + (method url-fetch) + (uri (cran-uri "sampling" version)) + (sha256 + (base32 + "06pj7dan0mknpsblmlnk7am78qrnwgnql5vvx7vmbfvib7rj6s9m")))) + (build-system r-build-system) + (propagated-inputs + `(("r-lpsolve" ,r-lpsolve) + ("r-mass" ,r-mass))) + (home-page "https://cran.r-project.org/web/packages/sampling/") + (synopsis "Survey sampling") + (description + "This package provides functions for drawing and calibrating samples.") + (license license:gpl2+)))