Skip to content

Commit

Permalink
fix: correct Rf_error("... (%S)", note); to `Rf_error("... (%s)", n…
Browse files Browse the repository at this point in the history
…ote);`
  • Loading branch information
davidgohel committed Dec 9, 2023
1 parent 930155f commit b1e2c37
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "[email protected]"),
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/dsvg_dev.cpp
Original file line number Diff line number Diff line change
@@ -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_,
Expand Down

0 comments on commit b1e2c37

Please sign in to comment.