gnu: Add r-r-devices.

* gnu/packages/cran.scm (r-r-devices): New variable.
This commit is contained in:
Ricardo Wurmus 2019-12-13 23:02:28 +01:00
parent 2fe1e66c4d
commit 217cd2e3ee
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -17296,3 +17296,33 @@ (define-public r-r-filesets
followed by comma-separated tags. This adds additional flexibility to
identify file sets and individual files.")
(license license:lgpl2.1+)))
(define-public r-r-devices
(package
(name "r-r-devices")
(version "2.16.1")
(source
(origin
(method url-fetch)
(uri (cran-uri "R.devices" version))
(sha256
(base32
"15zlnq3g27whq26fbcy5zfl5hiddm256h4rga4frblg6wqlbkvdd"))))
(properties `((upstream-name . "R.devices")))
(build-system r-build-system)
(propagated-inputs
`(("r-base64enc" ,r-base64enc)
("r-r-methodss3" ,r-r-methodss3)
("r-r-oo" ,r-r-oo)
("r-r-utils" ,r-r-utils)))
(home-page "https://github.com/HenrikBengtsson/R.devices")
(synopsis "Unified handling of graphics devices")
(description
"This package provides functions for creating plots and image files in a
unified way regardless of output format (EPS, PDF, PNG, SVG, TIFF, WMF, etc.).
Default device options as well as scales and aspect ratios are controlled in a
uniform way across all device types. Switching output format requires minimal
changes in code. This package is ideal for large-scale batch processing,
because it will never leave open graphics devices or incomplete image files
behind, even on errors or user interrupts.")
(license license:lgpl2.1+)))