graphics/R-cran-R.devices: new port

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.
This commit is contained in:
Zsolt Udvari 2025-02-16 19:08:03 +01:00
parent 1be573c888
commit 7e1ea1ba02
4 changed files with 32 additions and 0 deletions

View file

@ -9,6 +9,7 @@
SUBDIR += O2-tools
SUBDIR += R-cran-DiagrammeR
SUBDIR += R-cran-GDD
SUBDIR += R-cran-R.devices
SUBDIR += R-cran-RColorBrewer
SUBDIR += R-cran-colorspace
SUBDIR += R-cran-cowplot

View file

@ -0,0 +1,21 @@
PORTNAME= R.devices
DISTVERSION= 2.17.2
CATEGORIES= graphics
DISTNAME= ${PORTNAME}_${DISTVERSION}
MAINTAINER= uzsolt@FreeBSD.org
COMMENT= Unified Handling of Graphics Devices
WWW= https://cran.r-project.org/package=R.devices
LICENSE= LGPL21 LGPL3
LICENSE_COMB= multi
RUN_DEPENDS= R-cran-base64enc>=0.1.2:converters/R-cran-base64enc \
R-cran-R.methodsS3>=1.8.1:devel/R-cran-R.methodsS3 \
R-cran-R.oo>=1.24.0:devel/R-cran-R.oo \
R-cran-R.utils>=2.0.1:devel/R-cran-R.utils
TEST_DEPENDS= R-cran-digest>=0.6.13:security/R-cran-digest
USES= cran:auto-plist
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1739727502
SHA256 (R.devices_2.17.2.tar.gz) = 403eeaf552dd696142096973dee3460dc52c19b73fd194841dd4638e2bdcec95
SIZE (R.devices_2.17.2.tar.gz) = 243013

View file

@ -0,0 +1,7 @@
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.