Skip to content

R Graphics Devices for 'Office' Vector Graphics Output

10packages dependsuggested by 6
252.1Kdownloads / year
75.6%test coverage
13/13flavors OK

Overview

About

Vector Graphics devices for 'Microsoft PowerPoint' and 'Microsoft Excel'. Functions extending package 'officer' are provided to embed 'DrawingML' graphics into 'Microsoft PowerPoint' presentations and 'Microsoft Excel' workbooks.

Changes in 0.4.2

Features

  • new method sheet_add_drawing.dml() to add vector graphics to an

Excel sheet via officer::sheet_add_drawing(). This provides a unified

API for adding drawings to xlsx workbooks.

Issues

  • sheet_add_drawing.dml() now appends its anchor to the sheet's existing drawing part (via officer::xlsx_drawing) instead of creating a second drawing part and a second <drawing> reference on the worksheet. Mixing dml with other sheet_add_drawing() methods (external_img, gg, ms_chart) on the same sheet now produces a valid xlsx.

Changes

Show all changes in 0.4.2Hide the rest of the changes in 0.4.2
  • xl_add_vg() is now deprecated in favour of sheet_add_drawing().
  • Wrapped the two Rf_error() calls in pptx_new_page() and xlsx_new_page() with parentheses ((Rf_error)(...)) so they remain direct C-ABI calls instead of going through the Rcpp override (#66). These are device callbacks where Rf_error's longjmp is the correct signalling mechanism.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.2 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-04-22
Show 2 earlier changesHide 2 earlier changes
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.4.2
READMEYes · 150 wordsVignettesNoNEWSYes · 100% structured · mentions 0.4.2Citation fileNoWebsiteYes · pkgdown
Help pages
7 (1 internal)
Examples that run
33%2 run in a plain check · 4 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
80%
Documented parameters
53%
Return-value docs
0%
Help pages citing references
0%

Downloads

252.1K
CRAN downloads in the past year
Rank #941 · ~691/day · ~21K/mo
Daily download trend is not available in this view yet.
14.3K30 days
44K90 days
252.1K1 year
Compare downloads with other packages →
Also on3.4K r2u3 autocran8.3K conda_forge113 c2d4u

Repository

135Stars
33Forks
2Open issues
0Open PRs
1Releases
334Commits
4Commit identities
334 commits · Last activity 2026-05-18 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
36%
Median days to close, 50 most recently updated closed issues
23
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2025-07-31 · 1282026-09-11 · 135
PracticesBeta

10 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/davidgohel/rvg on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux and Windows, and on R-devel

Governance and community (1)
Issue templates
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-05-18 · The repository has a site deploy workflow

pkgdown site last built 2026-05-18

CRAN release process (1)
cran-comments.md
Show all practicesHide 2 practices
Lint, format, editor (1)
RStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing rvg adds 40 packages (28 with compiled code, 32 MB of source tarballs). Heaviest: stringi 11 MB, fontLiberation 4.3 MB, fontquiver 2.1 MB.

Depends (1)
R >= 3.0
LinkingTo (2)
Suggests (2)
Enhances (0)
none
Reverse dependencies
10direct
9indirect
Imports 10
Suggested by 6
Show all 16 packagesHide all 16 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (4)
Author, Maintainer since 0.0.5 (2016)
Contributor · added in 0.0.7
clipping algorithms
Contributor · added in 0.0.7
the javascript code used by function set_attr
Copyright holder · added in 0.3.3
Releases (31)

Pick two releases to compare their code metrics.

Show 27 earlier eventsHide 27 earlier events
  • 0.2.4.1
    record
    2020-06-28 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.2.4
    record
    2020-02-17 · diff ↗
  • 0.2.3
    record
    2020-01-27 · diff ↗
  • 0.2.2
    record
    2019-11-11 · diff ↗
  • 0.2.1
    record
    2019-06-25 · diff ↗ ·
    added 1 export
    dml
  • R
    R 3.6.0 released · 2019-04-26
  • 0.2.0
    record
    2019-04-06 · diff ↗ ·
    removed 5 exports
    dsvg, dsvg_view, rvg_tracer_off, rvg_tracer_on, set_attr
  • 0.1.9
    record
    2018-06-11 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1.8
    record
    2018-02-13 · diff ↗
  • 0.1.7
    record
    2017-12-03 · diff ↗ ·
    added 1 export
    xl_add_vg
  • 0.1.6
    record
    2017-10-05 · diff ↗
  • 0.1.5
    record
    2017-09-05 · diff ↗
  • 0.1.4
    record
    2017-06-23 · diff ↗ ·
    added 1 export
    ph_with_vg_at
  • R
    R 3.4.0 released · 2017-04-21
  • 0.1.3
    record
    2017-03-11 · diff ↗ ·
    removed 3 exports
    write_docx, write_pptx, write_xlsx
    added 2 exports
    body_add_vg, ph_with_vg
  • 0.1.2
    record
    2017-01-03 · diff ↗
  • 0.1.1
    record
    2016-11-02 · diff ↗
  • 0.1.0
    record
    2016-06-27 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 0.0.9
    record
    2016-04-29 · diff ↗ ·
    added 2 exports
    dml_xlsx, write_xlsx
  • 0.0.8
    record
    2016-03-04 · diff ↗ ·
    removed 9 exports
    interactivePointsGrob, interactivePolygonGrob, interactivePolylineGrob, interactiveRectGrob, interactiveSegmentsGrob, interactiveTextGrob, send_click, send_tooltip, set_data_id
  • 0.0.7
    record
    2016-02-25 · diff ↗ ·
    added 1 export
    set_attr
  • 0.0.6
    record
    2016-01-26 · diff ↗ ·
    added 6 exports
    interactivePointsGrob, interactivePolygonGrob, interactivePolylineGrob, interactiveRectGrob, interactiveSegmentsGrob, interactiveTextGrob
  • 0.0.5
    record
    2016-01-06
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2016-01-06
Total releases
31 / 10 yrs
License
GPL-3 OSI
Minimum R
≥ 3.0
Download size
38 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("rvg")
Gohel, D., ArData, Brunetti, F., & Rudis, B. (2026). rvg: R Graphics Devices for 'Office' Vector Graphics Output (Version 0.4.2) [Computer software]. https://doi.org/10.32614/CRAN.package.rvg

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for rvg version 0.4.2 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy