diff --git a/R/logistic_reg-predict.R b/R/logistic_reg-predict.R index 782efd9..3bb20de 100644 --- a/R/logistic_reg-predict.R +++ b/R/logistic_reg-predict.R @@ -15,7 +15,7 @@ #' #' @examples #' \donttest{ -#' if (torch::torch_is_installed() & rlang::is_installed(c("recipes", "yardstick", "modeldata")))) { +#' if (torch::torch_is_installed() & rlang::is_installed(c("recipes", "yardstick", "modeldata"))) { #' #' library(recipes) #' library(yardstick) diff --git a/R/mlp-fit.R b/R/mlp-fit.R index 3620122..6e21ea9 100644 --- a/R/mlp-fit.R +++ b/R/mlp-fit.R @@ -128,7 +128,7 @@ #' #' @examples #' \donttest{ -#' if (torch::torch_is_installed() & rlang::is_installed(c("recipes", "yardstick", "modeldata")))) { +#' if (torch::torch_is_installed() & rlang::is_installed(c("recipes", "yardstick", "modeldata"))) { #' #' ## ----------------------------------------------------------------------------- #' # regression examples (increase # epochs to get better results) diff --git a/R/mlp-predict.R b/R/mlp-predict.R index 9c603f3..7d1d239 100644 --- a/R/mlp-predict.R +++ b/R/mlp-predict.R @@ -23,7 +23,7 @@ #' #' @examples #' \donttest{ -#' if (torch::torch_is_installed() & rlang::is_installed(c("recipes", "modeldata")))) { +#' if (torch::torch_is_installed() & rlang::is_installed(c("recipes", "modeldata"))) { #' # regression example: #' #' data(ames, package = "modeldata") diff --git a/R/multinomial_reg-predict.R b/R/multinomial_reg-predict.R index bdd52f6..5da98da 100644 --- a/R/multinomial_reg-predict.R +++ b/R/multinomial_reg-predict.R @@ -15,7 +15,7 @@ #' #' @examples #' \donttest{ -#' if (torch::torch_is_installed() & rlang::is_installed(c("recipes", "yardstick", "modeldata")))) { +#' if (torch::torch_is_installed() & rlang::is_installed(c("recipes", "yardstick", "modeldata"))) { #' #' library(recipes) #' library(yardstick) diff --git a/man/brulee_mlp.Rd b/man/brulee_mlp.Rd index dd70eb4..44d3f53 100644 --- a/man/brulee_mlp.Rd +++ b/man/brulee_mlp.Rd @@ -350,7 +350,7 @@ arguments to the schedulers can be passed via \code{...}. } \examples{ \donttest{ -if (torch::torch_is_installed() & rlang::is_installed(c("recipes", "yardstick", "modeldata")))) { +if (torch::torch_is_installed() & rlang::is_installed(c("recipes", "yardstick", "modeldata"))) { ## ----------------------------------------------------------------------------- # regression examples (increase # epochs to get better results) diff --git a/man/predict.brulee_logistic_reg.Rd b/man/predict.brulee_logistic_reg.Rd index 81ef926..02a1ed1 100644 --- a/man/predict.brulee_logistic_reg.Rd +++ b/man/predict.brulee_logistic_reg.Rd @@ -34,7 +34,7 @@ Predict from a \code{brulee_logistic_reg} } \examples{ \donttest{ -if (torch::torch_is_installed() & rlang::is_installed(c("recipes", "yardstick", "modeldata")))) { +if (torch::torch_is_installed() & rlang::is_installed(c("recipes", "yardstick", "modeldata"))) { library(recipes) library(yardstick) diff --git a/man/predict.brulee_mlp.Rd b/man/predict.brulee_mlp.Rd index 36d3b89..31f5244 100644 --- a/man/predict.brulee_mlp.Rd +++ b/man/predict.brulee_mlp.Rd @@ -35,7 +35,7 @@ Predict from a \code{brulee_mlp} } \examples{ \donttest{ -if (torch::torch_is_installed() & rlang::is_installed(c("recipes", "modeldata")))) { +if (torch::torch_is_installed() & rlang::is_installed(c("recipes", "modeldata"))) { # regression example: data(ames, package = "modeldata") diff --git a/man/predict.brulee_multinomial_reg.Rd b/man/predict.brulee_multinomial_reg.Rd index 826bb39..be1c0e6 100644 --- a/man/predict.brulee_multinomial_reg.Rd +++ b/man/predict.brulee_multinomial_reg.Rd @@ -34,7 +34,7 @@ Predict from a \code{brulee_multinomial_reg} } \examples{ \donttest{ -if (torch::torch_is_installed() & rlang::is_installed(c("recipes", "yardstick", "modeldata")))) { +if (torch::torch_is_installed() & rlang::is_installed(c("recipes", "yardstick", "modeldata"))) { library(recipes) library(yardstick)