Skip to content

Commit

Permalink
fix nocovs
Browse files Browse the repository at this point in the history
  • Loading branch information
topepo committed Oct 23, 2024
1 parent 974485f commit 48f7595
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion R/discrim_flexible_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# they are already in the parsnip model database. We'll exclude them from
# coverage stats for this reason.

# nocov
# nocov start
make_discrim_flexible <- function() {
parsnip::set_model_engine("discrim_flexible", "classification", "earth")
parsnip::set_dependency("discrim_flexible", eng = "earth", pkg = "mda")
Expand Down
2 changes: 1 addition & 1 deletion R/discrim_linear_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# they are already in the parsnip model database. We'll exclude them from
# coverage stats for this reason.

# nocov
# nocov start

make_discrim_linear_MASS <- function() {
parsnip::set_model_engine("discrim_linear", "classification", "MASS")
Expand Down
2 changes: 1 addition & 1 deletion R/discrim_quad_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# they are already in the parsnip model database. We'll exclude them from
# coverage stats for this reason.

# nocov
# nocov start

make_discrim_quad_MASS <- function() {
parsnip::set_model_engine("discrim_quad", "classification", "MASS")
Expand Down
2 changes: 1 addition & 1 deletion R/discrim_regularized_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# they are already in the parsnip model database. We'll exclude them from
# coverage stats for this reason.

# nocov
# nocov start
make_discrim_regularized <- function() {
parsnip::set_model_engine("discrim_regularized", "classification", "klaR")
parsnip::set_dependency("discrim_regularized", eng = "klaR", pkg = "klaR")
Expand Down
2 changes: 1 addition & 1 deletion R/naive_Bayes_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# they are already in the parsnip model database. We'll exclude them from
# coverage stats for this reason.

# nocov
# nocov start

make_naive_Bayes_naivebayes <- function() {
parsnip::set_model_engine("naive_Bayes", "classification", "naivebayes")
Expand Down

0 comments on commit 48f7595

Please sign in to comment.