From 717a4f937f685432e40fea20536994bf162e861e Mon Sep 17 00:00:00 2001 From: Emil Hvitfeldt Date: Sat, 2 Jul 2022 18:19:44 -0700 Subject: [PATCH] other celery -> tidyclust issues --- LICENSE | 2 +- NAMESPACE | 1 - R/augment.R | 2 +- R/tunable.R | 2 +- man/augment.Rd | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/LICENSE b/LICENSE index 554a9028..1e3dac0c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,2 +1,2 @@ YEAR: 2022 -COPYRIGHT HOLDER: celery authors +COPYRIGHT HOLDER: tidyclust authors diff --git a/NAMESPACE b/NAMESPACE index b5ce0f96..fc934256 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -115,7 +115,6 @@ importFrom(parsnip,model_printer) importFrom(parsnip,null_value) importFrom(parsnip,predict_raw) importFrom(parsnip,show_call) -importFrom(rlang,abort) importFrom(rlang,enquo) importFrom(rlang,enquos) importFrom(rlang,get_expr) diff --git a/R/augment.R b/R/augment.R index f0f7fee4..5568f253 100644 --- a/R/augment.R +++ b/R/augment.R @@ -12,7 +12,7 @@ #' @export #' @examples #' kmeans_spec <- k_means(k = 5) %>% -#' set_engine_celery("stats") +#' set_engine_tidyclust("stats") #' #' kmeans_fit <- fit(kmeans_spec, ~., mtcars) #' diff --git a/R/tunable.R b/R/tunable.R index 83f6f737..f6ac87bd 100644 --- a/R/tunable.R +++ b/R/tunable.R @@ -12,7 +12,7 @@ tunable_cluster_spec <- function(x, ...) { if (!(any(arg_name == names(mod_env)))) { abort( paste( - "The `celery` model database doesn't know about the arguments for ", + "The `tidyclust` model database doesn't know about the arguments for ", "model `", mod_type(x), "`. Was it registered?", sep = "" ), diff --git a/man/augment.Rd b/man/augment.Rd index 262f9da0..e95a7243 100644 --- a/man/augment.Rd +++ b/man/augment.Rd @@ -22,7 +22,7 @@ For partition models, a \code{.pred_cluster} column is added. } \examples{ kmeans_spec <- k_means(k = 5) \%>\% - set_engine_celery("stats") + set_engine_tidyclust("stats") kmeans_fit <- fit(kmeans_spec, ~., mtcars)