From 277560b8c6cbb7da005679d92ee48e944b2801a6 Mon Sep 17 00:00:00 2001 From: David Gohel Date: Thu, 20 Jun 2024 20:31:31 +0200 Subject: [PATCH] fix: correct error message fix #641 --- DESCRIPTION | 2 +- R/printers.R | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 3a7403c3..d818220a 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: flextable Title: Functions for Tabular Reporting -Version: 0.9.6 +Version: 0.9.7.001 Authors@R: c( person("David", "Gohel", , "david.gohel@ardata.fr", role = c("aut", "cre")), person("ArData", role = "cph"), diff --git a/R/printers.R b/R/printers.R index abf2a966..757860d0 100644 --- a/R/printers.R +++ b/R/printers.R @@ -1009,7 +1009,7 @@ save_as_image <- function(x, path, expand = 10, res = 200, ...) { if (!requireNamespace("svglite", quietly = TRUE)) { stop(sprintf( "'%s' package should be installed to save a flextable in a '%s' image.", - "svglite" + "svglite", "svg" )) } svglite::svglite(