From cbfcff596120084b584fcab29c19d57c3a871dd3 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 4 Jul 2022 13:20:54 +0200 Subject: gnu: Add r-ggrastr. * gnu/packages/cran.scm (r-ggrastr): New variable. --- gnu/packages/cran.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 57c2ae5d15..1e93e14ac1 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -1005,6 +1005,29 @@ variables.") ") (license license:gpl2+))) +(define-public r-ggrastr + (package + (name "r-ggrastr") + (version "1.0.1") + (source (origin + (method url-fetch) + (uri (cran-uri "ggrastr" version)) + (sha256 + (base32 + "07sx5wlawfyb0zy5am2q1ajhkdym5r9ih47p57l8bv4dlc7ykml2")))) + (properties `((upstream-name . "ggrastr"))) + (build-system r-build-system) + (propagated-inputs (list r-cairo r-ggbeeswarm r-ggplot2 r-png r-ragg)) + (native-inputs (list r-knitr)) + (home-page "https://github.com/VPetukhov/ggrastr") + (synopsis "Rasterize layers for ggplot2") + (description + "Rasterize only specific layers of a ggplot2 plot while simultaneously keeping +all labels and text in vector format. This allows users to keep plots within +the reasonable size limit without losing vector properties of the +scale-sensitive information.") + (license license:expat))) + (define-public r-lmds (package (name "r-lmds") -- cgit 1.4.1