Skip to content

Commit

Permalink
check before return
Browse files Browse the repository at this point in the history
  • Loading branch information
sbfnk committed Nov 14, 2024
1 parent 3d95192 commit b89a290
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/clean.r
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,7 @@ clean_model <- function(x) {

model <- structure(x, class = "stanedit")

return(check_model(model))
check_model(model)

return(model)
}

0 comments on commit b89a290

Please sign in to comment.