From 81e0b62502e928f2a1b3e9370241a1d881ac7766 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 3 Nov 2017 10:32:50 +0100 Subject: [PATCH] gnu: Add r-ggrepel. * gnu/packages/cran.scm (r-ggrepel): 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 9a27c82d21..03356cb6fd 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -1243,3 +1243,27 @@ X, and likewise for Y. Pdist strictly computes distances across the two matrices, not within the same matrix, making computations significantly faster for certain use cases.") (license license:gpl3+))) + +(define-public r-ggrepel + (package + (name "r-ggrepel") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "ggrepel" version)) + (sha256 + (base32 + "0g0qfm6g71rv27423c1x846ipilnj213knyzrcr09vrpxc87l618")))) + (build-system r-build-system) + (propagated-inputs + `(("r-ggplot2" ,r-ggplot2) + ("r-rcpp" ,r-rcpp) + ("r-scales" ,r-scales))) + (home-page "http://github.com/slowkow/ggrepel") + (synopsis "Repulsive text and label geometries for ggplot2") + (description + "This package provides text and label geometries for ggplot2 that help to +avoid overlapping text labels. Labels repel away from each other and away +from the data points.") + (license license:gpl3)))