Skip to content

Commit

Permalink
fix typo in use_model_template
Browse files Browse the repository at this point in the history
  • Loading branch information
venpopov committed Mar 26, 2024
1 parent 60fee30 commit 40a4659
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/helpers-model.R
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,8 @@ use_model_template <- function(model_name,
"<<model_name>> <- function(resp_var1, required_arg1, required_arg2, links = NULL, version = NULL, ...) {\n",
" call <- match.call()\n",
" stop_missing_args()\n",
" .model_<<model_name>>(resp_var1 = resp_var1, required_arg1 = required_arg1, equired_arg2 = required_arg2,\n",
" rlinks = links, version = version,call = call, ...)\n",
" .model_<<model_name>>(resp_var1 = resp_var1, required_arg1 = required_arg1, required_arg2 = required_arg2,\n",
" links = links, version = version,call = call, ...)\n",
"}\n\n",
.open = "<<", .close = ">>")

Expand Down

0 comments on commit 40a4659

Please sign in to comment.