Skip to content

Commit

Permalink
simplify caretModelSpec a little (#316)
Browse files Browse the repository at this point in the history
* simplify caretModelSpec a little

* simplify

* simplify
  • Loading branch information
zachmayer authored Aug 12, 2024
1 parent e9664fe commit dcb8d37
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/caretList.R
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ c.caretList <- function(...) {
#' @examples
#' caretModelSpec("rf", tuneLength = 5, preProcess = "ica")
caretModelSpec <- function(method = "rf", ...) {
out <- c(list(method = method), list(...))
out <- list(method = method, ...)
out
}

Expand Down
Binary file modified coverage.rds
Binary file not shown.

0 comments on commit dcb8d37

Please sign in to comment.