From b1e2c370f12dcd365ff5060bce6910a8d4e15b2c Mon Sep 17 00:00:00 2001 From: David Gohel Date: Sat, 9 Dec 2023 14:23:11 +0100 Subject: [PATCH] fix: correct `Rf_error("... (%S)", note);` to `Rf_error("... (%s)", note);` --- DESCRIPTION | 2 +- NEWS.md | 1 + src/dsvg_dev.cpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 5a1c89e4..03af5a32 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,7 +2,7 @@ Package: ggiraph Type: Package Title: Make 'ggplot2' Graphics Interactive Description: Create interactive 'ggplot2' graphics using 'htmlwidgets'. -Version: 0.8.8.001 +Version: 0.8.8.002 Authors@R: c( person("David", "Gohel", role = c("aut", "cre"), email = "david.gohel@ardata.fr"), diff --git a/NEWS.md b/NEWS.md index 1dbbef25..b43b4913 100644 --- a/NEWS.md +++ b/NEWS.md @@ -3,6 +3,7 @@ ## Issues - Fix issue with interactive points when shapes with lines are used (#252). +- correct `Rf_error("... (%S)", note);` to `Rf_error("... (%s)", note);` # ggiraph 0.8.7 diff --git a/src/dsvg_dev.cpp b/src/dsvg_dev.cpp index 35fb240d..de0ca26b 100644 --- a/src/dsvg_dev.cpp +++ b/src/dsvg_dev.cpp @@ -1,7 +1,7 @@ #include "dsvg_dev.h" #define CHECK_STACK_NOT_EMPTY(note) \ - if (contexts->size() < 1) Rf_error("Invalid contexts stack state (%S)", note); + if (contexts->size() < 1) Rf_error("Invalid contexts stack state (%s)", note); DSVG_dev::DSVG_dev(std::string filename_, double width_, double height_,