Skip to content

ragg

Graphic Devices Based on AGG

v1.5.1 · Mar 6, 2026 · MIT + file LICENSE

Description

Anti-Grain Geometry (AGG) is a high-quality and high-performance 2D drawing library. The 'ragg' package provides a set of graphic devices based on AGG to use as alternative to the raster devices provided through the 'grDevices' package.

Downloads

910.8K

Last 30 days

73rd

910.8K

Last 90 days

910.8K

Last year

CRAN Check Status

1 WARNING
3 NOTE
10 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang WARNING
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
WARNING r-devel-linux-x86_64-debian-clang

whether package can be installed

Found the following significant warnings:
  ./agg/include/agg_basics.h:450:35: warning: bitwise operation between different enumeration types ('agg::path_commands_e' and 'agg::path_flags_e') is deprecated [-Wdeprecated-enum-enum-conversion]
  ./agg/include/agg_color_rgba.h:746:30: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::rgba16::base_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_color_rgba.h:752:40: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::rgba16::base_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_color_rgba.h:947:37: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::rgba16::base_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_color_rgba.h:1186:37: warning: arithmetic between floating-point type 'value_type' (aka 'float') and enumeration type 'agg::cover_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_color_gray.h:439:83: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::gray16::base_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_color_gray.h:547:30: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::gray16::base_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_color_gray.h:553:40: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::gray16::base_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_color_gray.h:708:37: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::gray16::base_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_color_gray.h:958:37: warning: arithmetic between floating-point type 'value_type' (aka 'float') and enumeration type 'agg::cover_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_pixfmt_base.h:57:46: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::cover_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_image_filters.h:63:61: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::image_filter_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_span_image_filter.h:67:34: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::image_subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_span_image_filter.h:68:34: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::image_subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_path_storage_integer.h:153:42: warning: bitwise operation between different enumeration types ('agg::path_commands_e' and 'agg::path_flags_e') is deprecated [-Wdeprecated-enum-enum-conversion]
  ./agg/include/agg_path_storage_integer.h:161:42: warning: bitwise operation between different enumeration types ('agg::path_commands_e' and 'agg::path_flags_e') is deprecated [-Wdeprecated-enum-enum-conversion]
  ./agg/include/agg_path_storage_integer.h:265:42: warning: bitwise operation between different enumeration types ('agg::path_commands_e' and 'agg::path_flags_e') is deprecated [-Wdeprecated-enum-enum-conversion]
  ./agg/include/agg_path_storage_integer.h:276:42: warning: bitwise operation between different enumeration types ('agg::path_commands_e' and 'agg::path_flags_e') is deprecated [-Wdeprecated-enum-enum-conversion]
  ./agg/include/agg_rasterizer_sl_clip.h:38:56: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::poly_subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_rasterizer_sl_clip.h:54:57: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::poly_subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_rasterizer_sl_clip.h:69:56: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::poly_subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_rasterizer_sl_clip.h:81:51: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::poly_subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_rasterizer_sl_clip.h:82:51: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::poly_subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_rasterizer_sl_clip.h:95:51: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::poly_subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_rasterizer_sl_clip.h:96:51: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::poly_subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_path_storage.h:400:42: warning: bitwise operation between different enumeration types ('agg::path_commands_e' and 'agg::path_flags_e') is deprecated [-Wdeprecated-enum-enum-conversion]
  ./agg/include/agg_path_storage.h:465:42: warning: bitwise operation between different enumeration types ('agg::path_commands_e' and 'agg::path_flags_e') is deprecated [-Wdeprecated-enum-enum-conversion]
  ./agg/include/agg_path_storage.h:527:42: warning: bitwise operation between different enumeration types ('agg::path_commands_e' and 'agg::path_flags_e') is deprecated [-Wdeprecated-enum-enum-conversion]
  ./agg/include/agg_span_gradient.h:66:28: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::gradient_subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_span_gradient.h:67:28: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::gradient_subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_span_gradient.h:75:49: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::gradient_subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_span_gradient.h:76:49: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::gradient_subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_span_gradient.h:82:45: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::gradient_subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_span_gradient.h:83:45: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::gradient_subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_span_gradient.h:220:28: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::gradient_subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_span_gradient.h:221:28: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::gradient_subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_span_gradient.h:222:28: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::gradient_subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_span_gradient.h:230:30: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::gradient_subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_span_gradient.h:231:30: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::gradient_subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_span_gradient.h:232:30: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::gradient_subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_span_gradient.h:237:54: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::gradient_subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_span_gradient.h:238:54: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::gradient_subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_span_gradient.h:239:54: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::gradient_subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_ellipse.h:106:38: warning: bitwise operation between different enumeration types ('agg::path_commands_e' and 'agg::path_flags_e') is deprecated [-Wdeprecated-enum-enum-conversion]
  ./agg/include/agg_rasterizer_scanline_aa.h:136:62: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::rasterizer_scanline_aa<>::aa_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_rasterizer_scanline_aa.h:136:73: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::rasterizer_scanline_aa<>::aa_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_span_gradient.h:51:65: warning: arithmetic between different enumeration types ('agg::span_interpolator_linear<>::subpixel_scale_e' and 'agg::gradient_subpixel_scale_e') is deprecated [-Wdeprecated-enum-enum-conversion]
  ./agg/include/agg_span_interpolator_linear.h:62:32: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::span_interpolator_linear<>::subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_span_interpolator_linear.h:63:32: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::span_interpolator_linear<>::subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_span_interpolator_linear.h:68:32: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::span_interpolator_linear<>::subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_span_interpolator_linear.h:69:32: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::span_interpolator_linear<>::subpixel_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_color_rgba.h:354:30: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::rgba8T<agg::linear>::base_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_color_rgba.h:360:40: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::rgba8T<agg::linear>::base_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_path_storage_integer.h:53:40: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::vertex_integer<int>::coord_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_path_storage_integer.h:54:40: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::vertex_integer<int>::coord_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_gradient_lut.h:212:63: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::gradient_lut<agg::color_interpolator<rgba8>, 512>::(unnamed enum at ./agg/include/agg_gradient_lut.h:124:9)' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_gradient_lut.h:221:57: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::gradient_lut<agg::color_interpolator<rgba8>, 512>::(unnamed enum at ./agg/include/agg_gradient_lut.h:124:9)' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_gradient_lut.h:212:63: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512>::(unnamed enum at ./agg/include/agg_gradient_lut.h:124:9)' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_gradient_lut.h:221:57: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::gradient_lut<agg::color_interpolator<agg::rgba16>, 512>::(unnamed enum at ./agg/include/agg_gradient_lut.h:124:9)' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_path_storage_integer.h:53:40: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::vertex_integer<short>::coord_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_path_storage_integer.h:54:40: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::vertex_integer<short>::coord_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  agg/src/agg_vcgen_stroke.cpp:198:42: warning: bitwise operation between different enumeration types ('agg::path_commands_e' and 'agg::path_flags_e') is deprecated [-Wdeprecated-enum-enum-conversion]
  agg/src/agg_vcgen_stroke.cpp:202:42: warning: bitwise operation between different enumeration types ('agg::path_commands_e' and 'agg::path_flags_e') is deprecated [-Wdeprecated-enum-enum-conversion]
See ‘/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/ragg.Rcheck/00install.out’ for details.
* used C++ compiler: ‘Debian clang version 21.1.8 (3+b1)’
OK r-devel-linux-x86_64-debian-gcc

*


            
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
NOTE r-oldrel-macos-arm64

installed package size

  installed size is 31.5Mb
  sub-directories of 1Mb or more:
    libs  31.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is 49.8Mb
  sub-directories of 1Mb or more:
    libs  49.5Mb
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  7.7Mb
  sub-directories of 1Mb or more:
    libs   7.4Mb
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Additional Issues

clang-UBSAN Details →
gcc-UBSAN Details →
valgrind Details →

Check History

WARNING 10 OK · 3 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
WARNING r-devel-linux-x86_64-debian-clang

whether package can be installed

Found the following significant warnings:
  ./agg/include/agg_basics.h:450:35: warning: bitwise operation between different enumeration types ('agg::path_commands_e' and 'agg::path_flags_e') is deprecated [-Wdeprecated-enum-enum-conversion]
  ./agg/include/agg_color_rgba.h:746:30: warning: arithmetic between floating-point type 'double' and enumeration type 'agg::rgba16::base_scale_e' is deprecated [-Wdeprecated-enum-float-conversion]
  ./agg/include/agg_color_rgba.h:752:40: warning: arithmetic 
NOTE r-oldrel-macos-arm64

installed package size

  installed size is 31.5Mb
  sub-directories of 1Mb or more:
    libs  31.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is 49.8Mb
  sub-directories of 1Mb or more:
    libs  49.5Mb
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  7.7Mb
  sub-directories of 1Mb or more:
    libs   7.4Mb

Reverse Dependencies (70)

Dependency Network

Dependencies Reverse dependencies systemfonts textshaping SUMO WhatsR agregR flextable ggDNAvis ggfx ggrastr ipeaplot officer pkgdown plumber2 sameplot sumer terminalgraphics tidyverse +55 more reverse deps ragg

Version History

new 1.5.1 Mar 9, 2026