-
-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Labels
Beginner-friendly 🤝Friendly for new contributorsFriendly for new contributorsLow priority 😴This issue does not impact package functionality muchThis issue does not impact package functionality much
Description
A lot of the objects listed below are actually supported in parameters, but developers who will be comparing it with broom will think they aren't because there are no exported methods in NAMESPACE.
broom_tidy <- ls(getNamespace("broom"))
broom_tidy <- broom_tidy[grepl("^tidy", broom_tidy)]
broom_supported <- gsub("^tidy.", "", broom_tidy)
easystats_tidy <- ls(getNamespace("parameters"))
easystats_tidy <- easystats_tidy[grepl("^model_parameters", easystats_tidy)]
easystats_supported <- gsub("^model_parameters.", "", easystats_tidy)
broom_supported[!broom_supported %in% easystats_supported]
#> [1] "emmeans" "emmeans_summary"
#> [3] "irlba" "optim"
#> [5] "svd" "xyz"
#> [7] "aareg" "acf"
#> [9] "Arima" "biglm"
#> [11] "binDesign" "binWidth"
#> [13] "boot" "btergm"
#> [15] "cch" "character"
#> [17] "cld" "clm"
#> [19] "confint.glht" "confusionMatrix"
#> [21] "coxph" "crr"
#> [23] "cv.glmnet" "density"
#> [25] "dgCMatrix" "dgTMatrix"
#> [27] "dist" "drc"
#> [29] "durbinWatsonTest" "ergm"
#> [31] "factanal" "felm"
#> [33] "fixest" "ftable"
#> [35] "garch" "geeglm"
#> [37] "glmnet" "glmrob"
#> [39] "glmRob" "gmm"
#> [41] "ivreg" "kappa"
#> [43] "kde" "Kendall"
#> [45] "leveneTest" "Line"
#> [47] "Lines" "lm"
#> [49] "lm.beta" "lmrob"
#> [51] "lmRob" "logical"
#> [53] "lsmobj" "manova"
#> [55] "map" "mfx"
#> [57] "mlogit" "muhaz"
#> [59] "nlrq" "nls"
#> [61] "NULL" "numeric"
#> [63] "orcutt" "plm"
#> [65] "poLCA" "Polygon"
#> [67] "Polygons" "power.htest"
#> [69] "prcomp" "pyears"
#> [71] "rcorr" "ref.grid"
#> [73] "regsubsets" "rlm"
#> [75] "roc" "rq"
#> [77] "sarlm" "Sarlm"
#> [79] "sparseMatrix" "SpatialLinesDataFrame"
#> [81] "SpatialPolygons" "SpatialPolygonsDataFrame"
#> [83] "spec" "speedglm"
#> [85] "speedlm" "summary_emm"
#> [87] "summary.glht" "summary.lm"
#> [89] "summary.plm" "summaryDefault"
#> [91] "survdiff" "survexp"
#> [93] "survfit" "survreg"
#> [95] "svyolr" "table"
#> [97] "tobit" "ts"
#> [99] "TukeyHSD" "zoo"Created on 2022-07-17 by the reprex package (v2.0.1)
This is because most of them are supported by the default method:
library(parameters)
library(speedglm)
#> Loading required package: Matrix
#> Loading required package: MASS
sloop::s3_dispatch(model_parameters(lm(wt ~ mpg, mtcars)))
#> model_parameters.lm
#> => model_parameters.defaultCreated on 2022-07-17 by the reprex package (v2.0.1)
I think we just need to do something like-
#' @export
model_parameters.lm <- model_parameters.defaultThis is low priority, and probably easy enough to be handled by newcomers.
bwiernik
Metadata
Metadata
Assignees
Labels
Beginner-friendly 🤝Friendly for new contributorsFriendly for new contributorsLow priority 😴This issue does not impact package functionality muchThis issue does not impact package functionality much