Skip to content

Commit

Permalink
remove duplicate function
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilHvitfeldt committed Feb 25, 2022
1 parent c04601a commit 48375ed
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions R/translate.R
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,3 @@ deharmonize <- function(args, key) {
names(args) <- merged$original
args[!is.na(merged$original)]
}

add_methods <- function(x, engine) {
x$engine <- engine
check_spec_mode_engine_val(class(x)[1], x$engine, x$mode)
x$method <- get_cluster_spec(specific_model(x), x$mode, x$engine)
x
}

0 comments on commit 48375ed

Please sign in to comment.