propensity (development version)
Fixed
broom::tidy(glm_fit, conf.int = TRUE)failing on GLMs weighted bypswvectors.confint.glm()builds profile-likelihood intervals viaprofile.glm(), which refits throughglm.fit(); the refit indexesweights[good]with a matrix subscript, which[.vctrs_vctrrejected. Added a[.pswmethod that falls back to base R linear indexing for matrix/array subscripts and delegates everything else to[.vctrs_vctr.Comparison operators on
psw(==,!=,<,>,<=,>=) now short-circuitvec_equal()/vec_compare()and return a logical vector silently. Previously each comparison fired apropensity_class_downgradewarning viavec_ptype2.psw.double(), producing 100+ warnings during a singletidy(glm, conf.int = TRUE)call. Combine and cast paths still warn.Added a
NEWS.mdfile to track changes to the package.
