diff --git a/R/clean.r b/R/clean.r index 7ad9fca..58993ba 100644 --- a/R/clean.r +++ b/R/clean.r @@ -72,5 +72,7 @@ clean_model <- function(x) { model <- structure(x, class = "stanedit") - return(check_model(model)) + check_model(model) + + return(model) }