From 8780e992da90ef9324b032a5a76f3a150e90c395 Mon Sep 17 00:00:00 2001 From: Joe McMahon Date: Mon, 15 Aug 2022 22:43:27 -0700 Subject: [PATCH] Fix typo in diagnostic "Coloumn" should be "column". --- R/ts_anom_detection.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/ts_anom_detection.R b/R/ts_anom_detection.R index 6b83fb1..8f5e840 100644 --- a/R/ts_anom_detection.R +++ b/R/ts_anom_detection.R @@ -53,7 +53,7 @@ AnomalyDetectionTs <- function(x, max_anoms = 0.10, direction = "pos", } else { if (ncol(x) != 2 || !is.numeric(x[[2]])) { stop(paste0("data must be a 2 column data.frame, with the first column being ", - "a set of timestamps, and the second coloumn being numeric values.", + "a set of timestamps, and the second column being numeric values.", collapse = "")) } # Format timestamps if necessary