Skip to content

grImport2

Importing 'SVG' Graphics

v0.3-3 · Jul 30, 2024 · GPL (>= 2)

Description

Functions for importing external vector images and drawing them as part of 'R' plots. This package is different from the 'grImport' package because, where that package imports 'PostScript' format images, this package imports 'SVG' format images. Furthermore, this package imports a specific subset of 'SVG', so external images must be preprocessed using a package like 'rsvg' to produce 'SVG' that this package can import. 'SVG' features that are not supported by 'R' graphics, e.g., gradient fills, can be imported and then exported via the 'gridSVG' package.

Downloads

CRAN

5.4K

Last 30 days

1573rd

16.1K

Last 90 days

60.3K

Last year

Trend: -10.8% (30d vs prior 30d)

r2u CRAN

4

Last 30 days

57

Last 90 days

221

Last year

Trend: -85.7% (30d vs prior 30d)

autoCRAN

12

Last 7 days

27

Last 30 days

3

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

conda-forge CRAN

334

Last 30 days

812

Last 90 days

3.5K

Last year

Trend: +14.8% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang 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-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 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 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
NOTE 12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Paul Murrell <paul@stat.auckland.ac.nz>’

Reading Rd files failed with message:
  cannot open the connection
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

7,297

Files

83

Compiled share

0%

Has compiled src

No

Language breakdown

R 2,467 (33.8%)Tests 3,094 (42.4%)Docs 1,736 (23.8%)

API

Exported functions

9

Internal functions

63

Testing & CI

Has tests

Yes

Test-to-code ratio

1.38

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

2.12.0

System requirements

C++ standard

License

GPL (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

6

First release

2018-03-20

Latest release

2024-07-30

Avg cadence

277 days

Cold removal rate

Dep drift

0

LOC over versions

v0.1-4: 5,691 LOCv0.1-5: 5,702 LOCv0.2-0: 5,859 LOCv0.3-0: 5,978 LOCv0.3-1: 6,209 LOCv0.3-3: 7,297 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (14)

Dependency Network

Dependencies Reverse dependencies XML png jpeg base64enc HyRiM RGraphics RIdeogram SDAR deeptime ggfoundry piecepackr rphylopic cograph dataquieR deeptimedata nVennR2 pcutils spiralize grImport2

Version History

7 tracked
new 0.3-3 Mar 10, 2026
updated 0.3-3 ← 0.3-1 diff Jul 29, 2024
updated 0.3-1 ← 0.3-0 diff Oct 26, 2023
updated 0.3-0 ← 0.2-0 diff Oct 8, 2023
updated 0.2-0 ← 0.1-5 diff Nov 24, 2019
updated 0.1-5 ← 0.1-4 diff May 5, 2019
new 0.1-4 Mar 19, 2018