From 1088744d8748a4ed81accdacab95eb397de0f23b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 2 Mar 2018 22:22:32 +0100 Subject: [PATCH] gnu: Add r-sna. * gnu/packages/cran.scm (r-sna): New variable. --- gnu/packages/cran.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index e06eb60e94..2e229e9e0f 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -2265,3 +2265,27 @@ (define-public r-statnet-common (description "This package provides non-statistical utilities used by the software developed by the Statnet Project.") (license license:gpl3))) + +(define-public r-sna + (package + (name "r-sna") + (version "2.4") + (source + (origin + (method url-fetch) + (uri (cran-uri "sna" version)) + (sha256 + (base32 + "1ks8819qvpdfansfqj9p32s1rhvl26frvbi78m4rx1wd1qcv74i2")))) + (build-system r-build-system) + (propagated-inputs + `(("r-network" ,r-network) + ("r-statnet-common" ,r-statnet-common))) + (home-page "http://www.statnet.org") + (synopsis "Tools for social network analysis") + (description + "This package provides a range of tools for social network analysis, +including node and graph-level indices, structural distance and covariance +methods, structural equivalence detection, network regression, random graph +generation, and 2D/3D network visualization.") + (license license:gpl2+)))