From da90a87b895e080d0734fb683842d7c68b1c5172 Mon Sep 17 00:00:00 2001
From: JTPetter <61797391+JTPetter@users.noreply.github.com>
Date: Thu, 26 Sep 2024 15:18:54 +0200
Subject: [PATCH] Values for LSL, USL, target labels and unit tests updates
---
R/processCapabilityStudies.R | 9 +++++----
.../capability-of-the-process1-subplot-1.svg | 12 ++++++------
.../capability-of-the-process12-subplot-1.svg | 12 ++++++------
.../capability-of-the-process12-subplot-2.svg | 12 ++++++------
.../capability-of-the-process12-subplot-3.svg | 12 ++++++------
.../capability-of-the-process13-subplot-1.svg | 12 ++++++------
.../capability-of-the-process13-subplot-2.svg | 12 ++++++------
.../capability-of-the-process14-subplot-1.svg | 12 ++++++------
.../capability-of-the-process16-subplot-1.svg | 12 ++++++------
.../capability-of-the-process17-subplot-1.svg | 12 ++++++------
.../capability-of-the-process18-subplot-1.svg | 12 ++++++------
.../capability-of-the-process19-subplot-1.svg | 12 ++++++------
.../capability-of-the-process2-subplot-1.svg | 12 ++++++------
.../capability-of-the-process2-subplot-2.svg | 12 ++++++------
.../capability-of-the-process20-subplot-1.svg | 12 ++++++------
.../capability-of-the-process20-subplot-2.svg | 8 ++++----
.../capability-of-the-process20-subplot-3.svg | 12 ++++++------
.../capability-of-the-process3-subplot-1.svg | 12 ++++++------
.../capability-of-the-process4-subplot-1.svg | 12 ++++++------
.../capability-of-the-process4-subplot-2.svg | 12 ++++++------
.../capability-of-the-process5-subplot-1.svg | 12 ++++++------
.../capability-of-the-process5-subplot-2.svg | 12 ++++++------
.../capability-of-the-process6-subplot-1.svg | 12 ++++++------
.../capability-of-the-process6-subplot-2.svg | 12 ++++++------
.../capability-of-the-process7-subplot-1.svg | 12 ++++++------
.../capability-of-the-process7-subplot-2.svg | 12 ++++++------
.../capability-of-the-process8-subplot-1.svg | 12 ++++++------
.../capability-of-the-process8-subplot-2.svg | 12 ++++++------
.../capability-of-the-process9-subplot-1.svg | 12 ++++++------
.../capability-of-the-process9-subplot-2.svg | 12 ++++++------
.../capability-of-the-processw1-subplot-1.svg | 12 ++++++------
.../capability-of-the-processw10-subplot-1.svg | 12 ++++++------
.../capability-of-the-processw10-subplot-2.svg | 12 ++++++------
.../capability-of-the-processw10-subplot-3.svg | 8 ++++----
.../capability-of-the-processw12-subplot-1.svg | 12 ++++++------
.../capability-of-the-processw14-subplot-1.svg | 12 ++++++------
.../capability-of-the-processw15-subplot-1.svg | 12 ++++++------
.../capability-of-the-processw2-subplot-1.svg | 12 ++++++------
.../capability-of-the-processw2-subplot-2.svg | 12 ++++++------
.../capability-of-the-processw3-subplot-1.svg | 12 ++++++------
.../capability-of-the-processw4-subplot-1.svg | 12 ++++++------
.../capability-of-the-processw5-subplot-1.svg | 12 ++++++------
.../capability-of-the-processw6-subplot-1.svg | 12 ++++++------
.../capability-of-the-processw7-subplot-1.svg | 12 ++++++------
.../process-capability-report21-subplot-7.svg | 12 ++++++------
.../process-capability-report22-subplot-4.svg | 12 ++++++------
.../process-capability-report22-subplot-9.svg | 12 ++++++------
.../process-capability-report23-subplot-4.svg | 12 ++++++------
.../process-capability-report23-subplot-9.svg | 12 ++++++------
.../process-capability-report24-subplot-5.svg | 12 ++++++------
.../process-capability-reportw16-subplot-7.svg | 12 ++++++------
.../process-capability-reportw17-subplot-4.svg | 12 ++++++------
.../process-capability-reportw17-subplot-9.svg | 12 ++++++------
.../process-capability-reportw18-subplot-4.svg | 12 ++++++------
.../process-capability-reportw18-subplot-9.svg | 12 ++++++------
.../process-capability-reportw19-subplot-5.svg | 12 ++++++------
56 files changed, 331 insertions(+), 330 deletions(-)
diff --git a/R/processCapabilityStudies.R b/R/processCapabilityStudies.R
index a9b900c9..7f135902 100644
--- a/R/processCapabilityStudies.R
+++ b/R/processCapabilityStudies.R
@@ -736,18 +736,19 @@ processCapabilityStudies <- function(jaspResults, dataset, options) {
colnames(specLimitsDf) <- c("label", "xIntercept", "lty", "yPosLabel", "color")
yPosLabel <- max(ggplot2::layer_scales(p)$y$range$range)
if (options[["target"]]) {
- specLimitsDf <- rbind(specLimitsDf, data.frame(label = gettext("Target"), xIntercept = options[["targetValue"]],
- lty = "solid", yPosLabel = yPosLabel, color = "darkgreen"))
+ specLimitsDf <- rbind(specLimitsDf, data.frame(label = gettextf("Target = %g", round(options[["targetValue"]], .numDecimals)),
+ xIntercept = options[["targetValue"]], lty = "solid", yPosLabel = yPosLabel,
+ color = "darkgreen"))
}
if (options[["lowerSpecificationLimit"]]) {
lslLty <- if (options[["lowerSpecificationLimitBoundary"]]) "solid" else "dotted"
- lslLabel <- if (options[["lowerSpecificationLimitBoundary"]]) "LB" else "LSL"
+ lslLabel <- if (options[["lowerSpecificationLimitBoundary"]]) gettextf("LB = %g", round(options[["lowerSpecificationLimitValue"]], .numDecimals)) else gettextf("LSL = %g", round(options[["lowerSpecificationLimitValue"]], .numDecimals))
specLimitsDf <- rbind(specLimitsDf, data.frame(label = lslLabel, xIntercept = options[["lowerSpecificationLimitValue"]],
lty = lslLty, yPosLabel = yPosLabel, color = "darkred"))
}
if (options[["upperSpecificationLimit"]]) {
uslLty <- if (options[["upperSpecificationLimitBoundary"]]) "solid" else "dotted"
- uslLabel <- if (options[["upperSpecificationLimitBoundary"]]) "UB" else "USL"
+ uslLabel <- if (options[["upperSpecificationLimitBoundary"]]) gettextf("UB = %g", round(options[["upperSpecificationLimitValue"]], .numDecimals)) else gettextf("USL = %g", round(options[["upperSpecificationLimitValue"]], .numDecimals))
specLimitsDf <- rbind(specLimitsDf, data.frame(label = uslLabel, xIntercept = options[["upperSpecificationLimitValue"]],
lty = uslLty, yPosLabel = yPosLabel, color = "darkred"))
}
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process1-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process1-subplot-1.svg
index d232b2dc..5cfd3a50 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process1-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process1-subplot-1.svg
@@ -48,12 +48,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process12-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process12-subplot-1.svg
index 6730c68b..52991c9e 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process12-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process12-subplot-1.svg
@@ -46,12 +46,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process12-subplot-2.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process12-subplot-2.svg
index f5574eaa..c1531d3b 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process12-subplot-2.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process12-subplot-2.svg
@@ -46,12 +46,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process12-subplot-3.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process12-subplot-3.svg
index e3b3a11a..d31ec0f5 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process12-subplot-3.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process12-subplot-3.svg
@@ -48,12 +48,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process13-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process13-subplot-1.svg
index a60bee6f..babbb397 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process13-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process13-subplot-1.svg
@@ -46,12 +46,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process13-subplot-2.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process13-subplot-2.svg
index 3215ee71..47b7469f 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process13-subplot-2.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process13-subplot-2.svg
@@ -48,12 +48,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process14-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process14-subplot-1.svg
index 842f0b81..e86849aa 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process14-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process14-subplot-1.svg
@@ -48,12 +48,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process16-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process16-subplot-1.svg
index b3977be2..8cbedfb8 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process16-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process16-subplot-1.svg
@@ -48,12 +48,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process17-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process17-subplot-1.svg
index dbf9b7cf..49823fe1 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process17-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process17-subplot-1.svg
@@ -48,12 +48,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process18-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process18-subplot-1.svg
index 49b14afd..edb83016 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process18-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process18-subplot-1.svg
@@ -48,12 +48,12 @@
-
-Target
-
-LB
-
-UB
+
+Target = 6
+
+LB = 0
+
+UB = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process19-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process19-subplot-1.svg
index 75c76ca9..c17625ba 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process19-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process19-subplot-1.svg
@@ -48,12 +48,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process2-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process2-subplot-1.svg
index 74542697..928be8b4 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process2-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process2-subplot-1.svg
@@ -46,12 +46,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process2-subplot-2.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process2-subplot-2.svg
index c27856b7..cc299645 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process2-subplot-2.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process2-subplot-2.svg
@@ -48,12 +48,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process20-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process20-subplot-1.svg
index ef253a68..9ab5e607 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process20-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process20-subplot-1.svg
@@ -46,12 +46,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process20-subplot-2.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process20-subplot-2.svg
index af496e1f..a5854244 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process20-subplot-2.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process20-subplot-2.svg
@@ -51,10 +51,10 @@
-
-Target
-
-USL
+
+Target = 6
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process20-subplot-3.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process20-subplot-3.svg
index 43616f2a..79fde95c 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process20-subplot-3.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process20-subplot-3.svg
@@ -48,12 +48,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process3-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process3-subplot-1.svg
index b4fbe669..5701386e 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process3-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process3-subplot-1.svg
@@ -48,12 +48,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process4-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process4-subplot-1.svg
index 74542697..928be8b4 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process4-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process4-subplot-1.svg
@@ -46,12 +46,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process4-subplot-2.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process4-subplot-2.svg
index c27856b7..cc299645 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process4-subplot-2.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process4-subplot-2.svg
@@ -48,12 +48,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process5-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process5-subplot-1.svg
index 4d99eef3..9798778b 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process5-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process5-subplot-1.svg
@@ -45,12 +45,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process5-subplot-2.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process5-subplot-2.svg
index 01ba9db0..7a8104d1 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process5-subplot-2.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process5-subplot-2.svg
@@ -47,12 +47,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process6-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process6-subplot-1.svg
index c39dab1f..3c6281bc 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process6-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process6-subplot-1.svg
@@ -45,12 +45,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process6-subplot-2.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process6-subplot-2.svg
index b7eb39ba..da4c48e6 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process6-subplot-2.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process6-subplot-2.svg
@@ -47,12 +47,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process7-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process7-subplot-1.svg
index 243a0233..b85b529a 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process7-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process7-subplot-1.svg
@@ -45,12 +45,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process7-subplot-2.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process7-subplot-2.svg
index a0e35d79..cc4df7fd 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process7-subplot-2.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process7-subplot-2.svg
@@ -47,12 +47,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process8-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process8-subplot-1.svg
index c4c34f2e..2607d1b7 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process8-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process8-subplot-1.svg
@@ -45,12 +45,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process8-subplot-2.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process8-subplot-2.svg
index f52c2ca2..c281d977 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process8-subplot-2.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process8-subplot-2.svg
@@ -47,12 +47,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process9-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process9-subplot-1.svg
index 66512a77..30fc8874 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process9-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process9-subplot-1.svg
@@ -46,12 +46,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process9-subplot-2.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process9-subplot-2.svg
index c27856b7..cc299645 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process9-subplot-2.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-process9-subplot-2.svg
@@ -48,12 +48,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw1-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw1-subplot-1.svg
index 3fdbe90d..d241e967 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw1-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw1-subplot-1.svg
@@ -48,12 +48,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw10-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw10-subplot-1.svg
index 1c9b0c8f..b97b1e45 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw10-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw10-subplot-1.svg
@@ -46,12 +46,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw10-subplot-2.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw10-subplot-2.svg
index 9cad9992..fac7c4e6 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw10-subplot-2.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw10-subplot-2.svg
@@ -46,12 +46,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw10-subplot-3.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw10-subplot-3.svg
index 376e811f..79559c07 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw10-subplot-3.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw10-subplot-3.svg
@@ -51,10 +51,10 @@
-
-Target
-
-USL
+
+Target = 6
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw12-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw12-subplot-1.svg
index 41806682..b57b2306 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw12-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw12-subplot-1.svg
@@ -48,12 +48,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw14-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw14-subplot-1.svg
index 6d948a12..02402de9 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw14-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw14-subplot-1.svg
@@ -48,12 +48,12 @@
-
-Target
-
-LB
-
-UB
+
+Target = 6
+
+LB = 0
+
+UB = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw15-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw15-subplot-1.svg
index 74e8ae38..50ebbbd1 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw15-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw15-subplot-1.svg
@@ -48,12 +48,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw2-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw2-subplot-1.svg
index 788646f5..7e5087a5 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw2-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw2-subplot-1.svg
@@ -46,12 +46,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw2-subplot-2.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw2-subplot-2.svg
index 5279a3fd..059bc10b 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw2-subplot-2.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw2-subplot-2.svg
@@ -48,12 +48,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw3-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw3-subplot-1.svg
index d2537fa7..1ee34b84 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw3-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw3-subplot-1.svg
@@ -47,12 +47,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw4-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw4-subplot-1.svg
index 2d001ba8..f0c6314c 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw4-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw4-subplot-1.svg
@@ -47,12 +47,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw5-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw5-subplot-1.svg
index 54ede17f..f268f920 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw5-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw5-subplot-1.svg
@@ -47,12 +47,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw6-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw6-subplot-1.svg
index 71778e12..dd5f6b7e 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw6-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw6-subplot-1.svg
@@ -47,12 +47,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw7-subplot-1.svg b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw7-subplot-1.svg
index 1fb9ac7e..31293634 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw7-subplot-1.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/capability-of-the-processw7-subplot-1.svg
@@ -48,12 +48,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/process-capability-report21-subplot-7.svg b/tests/testthat/_snaps/processCapabilityStudies/process-capability-report21-subplot-7.svg
index 074352d1..40127d70 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/process-capability-report21-subplot-7.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/process-capability-report21-subplot-7.svg
@@ -48,12 +48,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/process-capability-report22-subplot-4.svg b/tests/testthat/_snaps/processCapabilityStudies/process-capability-report22-subplot-4.svg
index c27856b7..cc299645 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/process-capability-report22-subplot-4.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/process-capability-report22-subplot-4.svg
@@ -48,12 +48,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/process-capability-report22-subplot-9.svg b/tests/testthat/_snaps/processCapabilityStudies/process-capability-report22-subplot-9.svg
index 74542697..928be8b4 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/process-capability-report22-subplot-9.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/process-capability-report22-subplot-9.svg
@@ -46,12 +46,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/process-capability-report23-subplot-4.svg b/tests/testthat/_snaps/processCapabilityStudies/process-capability-report23-subplot-4.svg
index 01ba9db0..7a8104d1 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/process-capability-report23-subplot-4.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/process-capability-report23-subplot-4.svg
@@ -47,12 +47,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/process-capability-report23-subplot-9.svg b/tests/testthat/_snaps/processCapabilityStudies/process-capability-report23-subplot-9.svg
index 4d99eef3..9798778b 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/process-capability-report23-subplot-9.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/process-capability-report23-subplot-9.svg
@@ -45,12 +45,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/process-capability-report24-subplot-5.svg b/tests/testthat/_snaps/processCapabilityStudies/process-capability-report24-subplot-5.svg
index fc04cc3b..36fe77a8 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/process-capability-report24-subplot-5.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/process-capability-report24-subplot-5.svg
@@ -48,12 +48,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/process-capability-reportw16-subplot-7.svg b/tests/testthat/_snaps/processCapabilityStudies/process-capability-reportw16-subplot-7.svg
index dc14c316..67f3d608 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/process-capability-reportw16-subplot-7.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/process-capability-reportw16-subplot-7.svg
@@ -48,12 +48,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/process-capability-reportw17-subplot-4.svg b/tests/testthat/_snaps/processCapabilityStudies/process-capability-reportw17-subplot-4.svg
index 5279a3fd..059bc10b 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/process-capability-reportw17-subplot-4.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/process-capability-reportw17-subplot-4.svg
@@ -48,12 +48,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/process-capability-reportw17-subplot-9.svg b/tests/testthat/_snaps/processCapabilityStudies/process-capability-reportw17-subplot-9.svg
index 788646f5..7e5087a5 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/process-capability-reportw17-subplot-9.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/process-capability-reportw17-subplot-9.svg
@@ -46,12 +46,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/process-capability-reportw18-subplot-4.svg b/tests/testthat/_snaps/processCapabilityStudies/process-capability-reportw18-subplot-4.svg
index df5acf0b..06dcf563 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/process-capability-reportw18-subplot-4.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/process-capability-reportw18-subplot-4.svg
@@ -47,12 +47,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/process-capability-reportw18-subplot-9.svg b/tests/testthat/_snaps/processCapabilityStudies/process-capability-reportw18-subplot-9.svg
index 4ac7d366..e7e8021c 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/process-capability-reportw18-subplot-9.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/process-capability-reportw18-subplot-9.svg
@@ -45,12 +45,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12
diff --git a/tests/testthat/_snaps/processCapabilityStudies/process-capability-reportw19-subplot-5.svg b/tests/testthat/_snaps/processCapabilityStudies/process-capability-reportw19-subplot-5.svg
index 75f20467..c1f341a1 100644
--- a/tests/testthat/_snaps/processCapabilityStudies/process-capability-reportw19-subplot-5.svg
+++ b/tests/testthat/_snaps/processCapabilityStudies/process-capability-reportw19-subplot-5.svg
@@ -48,12 +48,12 @@
-
-Target
-
-LSL
-
-USL
+
+Target = 6
+
+LSL = 0
+
+USL = 12