Changelog
Source:NEWS.md
rvg 0.4.1
CRAN release: 2026-02-16
Issues
- Text no longer inherits bold/italic style from PowerPoint/Excel templates;
bandiattributes are now always set explicitly in run properties. - Shapes without fill now emit explicit
<a:noFill/>instead of omitting the fill element, preventing unintended theme fill inheritance in PowerPoint/Excel. - Circles (points) outside the clipping region are now skipped, preventing data points from appearing beyond plot limits.
- Text is no longer vertically shifted in PowerPoint/Excel output; removed explicit line spacing that conflicted with the centered anchor of text boxes.
changes
-
dml_xlsx()no longer exposes theraster_prefixargument; raster files are now written to an internal temporary directory. The prefix is embedded in the output as an XML comment (<!-- rvg_raster_prefix:... -->), which callers can read afterdev.off()to locate the PNG files. - Implement
xlsx_pathcallback for the XLSX device, enablinggeom_pathand path-based geometries in Excel output. - Compound paths (
pptx_path/xlsx_path) now combine all sub-polygons into a single<a:path>element within<a:custGeom>, so holes (donuts, cut-out polygons) render correctly via winding rule. - Bump
deviceVersionto v15 (R_GE_group) on R >= 4.2, avoiding redundant double-clipping by the graphics engine and enabling thecapabilitiescallback so thatdev.capabilities()reports explicitly unsupported features (patterns, masks, clipping paths, compositing, transformations). This eliminates the “Unable to check capabilities” warning from ggplot2. - Font resolution now uses
gdtools::font_set_auto()to detect system fonts forsans,serif,monoandsymbolaliases. Minimum gdtools version bumped to 0.5.0. -
validate_fonts()now warns when user-supplied font families are not found on the system. - Documentation clarifies that fonts are not embedded in DrawingML output and must be available on the reader’s system.
rvg 0.3.1
CRAN release: 2022-12-21
rvg 0.1.9
CRAN release: 2018-06-10
rvg 0.1.7
CRAN release: 2017-12-03
add argument
ggobjtoph_with_vg()andph_with_vg_at(). It can be used as replacement tocode=print(gg)when gg is a ggplot object.new function
xl_add_vg()to add vector graphics produced from R into Excel workbooks. This requiresofficer >= 0.2.0.
rvg 0.1.4
CRAN release: 2017-06-23
- raster images dpi has been increased
- new ‘ph_with_vg_at’ methods for package officer
rvg 0.1.3
CRAN release: 2017-03-10
- new ‘body_add_vg’ and ‘ph_with_vg’ methods for package officer
- deletion of write_* functions, these are now available in officer (functions print)
rvg 0.1.2
CRAN release: 2017-01-03
- add donttest tags in all examples to avoid long runs due to fontconfig initialisation
- change textbox in Word graphics so that text auto-adjusts.
rvg 0.1.0
CRAN release: 2016-06-27
- adapt code to xml2 1.0 (use xml_find_first instead of deprecated xml_find_one)