Skip to content

Commit

Permalink
address slowdown in get_model_spec() (#1072)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch authored Feb 26, 2024
1 parent 70ba30e commit 673b7d5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions R/translate.R
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ translate.default <- function(x, engine = x$engine, ...) {

get_model_spec <- function(model, mode, engine) {
m_env <- get_model_env()
env_obj <- rlang::env_names(m_env)
env_obj <- grep(model, env_obj, value = TRUE)

res <- list()

Expand Down

0 comments on commit 673b7d5

Please sign in to comment.