From d4eff88cd736b4831d87c551494d657679708178 Mon Sep 17 00:00:00 2001 From: Victor Souza <32229843+souza-victor@users.noreply.github.com> Date: Wed, 21 Dec 2022 18:48:29 -0300 Subject: [PATCH 1/3] Better decimal formatting Makes sure that pillar formats decimals according to the decimal mark defined by the user with the "OutDec" option (as described in help("options")). --- R/sigfig.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/sigfig.R b/R/sigfig.R index 114d3fa3f..92d702ba8 100644 --- a/R/sigfig.R +++ b/R/sigfig.R @@ -339,7 +339,7 @@ format_dec <- function(s) { # Decimal column if (any(dec)) { - dec_col <- ifelse(dec, style_num(".", neg, !lhs_zero), " ") + dec_col <- ifelse(dec, style_num(getOption("OutDec"), neg, !lhs_zero), " ") } else { dec_col <- rep_along(neg, "") } From 8a54380a6b7cd8fd34bfa0f5f14bac7e8db98f57 Mon Sep 17 00:00:00 2001 From: Victor Souza <32229843+souza-victor@users.noreply.github.com> Date: Mon, 2 Jan 2023 16:42:19 -0300 Subject: [PATCH 2/3] Update sigfig.R --- R/sigfig.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/sigfig.R b/R/sigfig.R index 92d702ba8..f7a3c4164 100644 --- a/R/sigfig.R +++ b/R/sigfig.R @@ -339,7 +339,7 @@ format_dec <- function(s) { # Decimal column if (any(dec)) { - dec_col <- ifelse(dec, style_num(getOption("OutDec"), neg, !lhs_zero), " ") + dec_col <- ifelse(dec, style_num(getOption("OutDec", "."), neg, !lhs_zero), " ") } else { dec_col <- rep_along(neg, "") } From 3ff85cc033012162a33c34d6dbd4e12e54e59ae5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Sun, 15 Dec 2024 11:05:34 +0100 Subject: [PATCH 3/3] Results --- revdep/cran.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/revdep/cran.md b/revdep/cran.md index d07935b82..8f0203e31 100644 --- a/revdep/cran.md +++ b/revdep/cran.md @@ -1,6 +1,6 @@ ## revdepcheck results -We checked 2 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package. +We checked 123 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package. * We saw 0 new problems * We failed to check 0 packages