From 2fc5b3b06c07f766fd17d0fe5ad5c2618eea1d7f Mon Sep 17 00:00:00 2001 From: Matt Dancho Date: Mon, 25 Sep 2023 11:12:10 -0400 Subject: [PATCH] 0.2.4 submit cran --- CRAN-SUBMISSION | 6 +++--- DESCRIPTION | 7 ++----- NEWS.md | 4 ++++ R/anomalize-package.R | 1 + R/zzz.R | 25 ------------------------- man/anomalize_package.Rd | 1 + 6 files changed, 11 insertions(+), 33 deletions(-) diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION index d11e06a..076b2bf 100644 --- a/CRAN-SUBMISSION +++ b/CRAN-SUBMISSION @@ -1,3 +1,3 @@ -Version: 0.2.3 -Date: 2023-02-07 17:01:30 UTC -SHA: 9af4e24c93aff292684dca1656210f6b7537d4fb +Version: 0.2.4 +Date: 2023-09-25 15:11:46 UTC +SHA: f64272b84127b1b5a517d19f105b48564be3e244 diff --git a/DESCRIPTION b/DESCRIPTION index b9b3b59..e4c4c8b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: anomalize Type: Package Title: Tidy Anomaly Detection -Version: 0.2.3 +Version: 0.2.4 Authors@R: c( person("Matt", "Dancho", email = "mdancho@business-science.io", role = c("aut", "cre")), person("Davis", "Vaughan", email = "dvaughan@business-science.io", role = c("aut")) @@ -35,10 +35,7 @@ Imports: rlang, tibble, tidyr (>= 1.0.0), - ggplot2, - cli, - crayon, - rstudioapi + ggplot2 RoxygenNote: 7.2.3 Roxygen: list(markdown = TRUE) Suggests: diff --git a/NEWS.md b/NEWS.md index 35e288c..2dc0a35 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,7 @@ +# anomalize 0.2.4 + +Republish on CRAN. + # anomalize 0.2.2 __Bug Fixes__ diff --git a/R/anomalize-package.R b/R/anomalize-package.R index 77ef153..1667b7c 100644 --- a/R/anomalize-package.R +++ b/R/anomalize-package.R @@ -19,6 +19,7 @@ #' @docType package #' @name anomalize_package #' +#' @aliases anomalize-package #' @importFrom rlang := !! !!! #' @importFrom dplyr %>% n row_number contains quo_name #' @importFrom stats median mad qt as.formula diff --git a/R/zzz.R b/R/zzz.R index 868f0ee..9e657ee 100644 --- a/R/zzz.R +++ b/R/zzz.R @@ -6,28 +6,3 @@ ) } -# .onAttach <- function(libname, pkgname) { -# -# bsu_rule_color <- "#2c3e50" -# bsu_main_color <- "#1f78b4" -# -# # Check Theme: If Dark, Update Colors -# if (rstudioapi::isAvailable()) { -# theme <- rstudioapi::getThemeInfo() -# if (theme$dark) { -# bsu_rule_color <- "#7FD2FF" -# bsu_main_color <- "#18bc9c" -# } -# } -# -# bsu_main <- crayon::make_style(bsu_main_color) -# -# msg <- paste0( -# cli::rule(left = "Use anomalize to improve your Forecasts by 50%!", col = bsu_rule_color, line = 2), -# bsu_main('\nBusiness Science offers a 1-hour course - Lab #18: Time Series Anomaly Detection!\n'), -# bsu_main(' Learn more at: https://university.business-science.io/p/learning-labs-pro ') -# ) -# -# packageStartupMessage(msg) -# -# } diff --git a/man/anomalize_package.Rd b/man/anomalize_package.Rd index c892f5d..5cdc7d7 100644 --- a/man/anomalize_package.Rd +++ b/man/anomalize_package.Rd @@ -3,6 +3,7 @@ \docType{package} \name{anomalize_package} \alias{anomalize_package} +\alias{anomalize-package} \title{anomalize: Tidy anomaly detection} \description{ The 'anomalize' package enables a "tidy" workflow for detecting anomalies in data.