Closed vincentarelbundock closed 3 years ago
Reprex after the merged fix:
library(gamlss)
#> Loading required package: splines
#> Loading required package: gamlss.data
#>
#> Attaching package: 'gamlss.data'
#> The following object is masked from 'package:datasets':
#>
#> sleep
#> Loading required package: gamlss.dist
#> Loading required package: MASS
#> Loading required package: nlme
#> Loading required package: parallel
#> ********** GAMLSS Version 5.3-4 **********
#> For more on GAMLSS look at https://www.gamlss.com/
#> Type gamlssNews() to see new features/changes/bug fixes.
library(performance)
mod <- lm(hp ~ mpg, mtcars)
x <- model_performance(mod)
dat <- rgamma(100, shape=1, scale=10)
mod <- gamlss(dat ~ 1, family = GA, trace = FALSE)
x <- model_performance(mod)
Created on 2021-04-01 by the reprex package (v1.0.0)
When I assign the output of
model_performance
to a variable and the model I am summarizing islm
, then the procedure is silent.When I do the same but the model is a
gamlss
, then the procedure spits out verbose results fromsummary.gamlss
. I think the silent behavior is intended.