[Rd] [PATCH] Three improvements to confint() documentation and S4 support
Ben Bolker
bbo|ker @end|ng |rom gm@||@com
Tue Dec 30 18:42:52 CET 2025
It looks like both items 1 and 3 have already been implemented in the
development version of R; see
https://github.com/r-devel/r-svn/blob/main/doc/NEWS.Rd (search for
"notin" or "confint.default")
It looks like your attached patches got stripped from the e-mail. As
https://www.r-project.org/mail.html discusses:
> Furthermore, most binary e-mail attachments are not accepted, i.e.,
they are removed from the posting completely. As an exception, we allow
application/pdf, application/postscript, and image/png (and x-tar and
gzip on R-devel). You can use text/plain as well, or simply paste text
into your message instead.
(I don't know what format your attachments were in, but they didn't
make it.)
Ben Bolker
On 12/30/25 12:00, Aakriti Kushwaha wrote:
> Hello R developers,
>
>
> I would like to contribute three improvements to the R source:
>
>
> 1.
>
> *S4 object support for **confint.default()*
>
> -
>
> confint.default() now works on S4 objects as long as suitable coef()
> and vcov() methods exist.
>
> 2.
>
> *substring()** and **substr()** improvements*
>
> -
>
> Both functions now accept i2 = NULL, allowing extraction until the
> end of the string.
> -
>
> Improves convenience and aligns with user expectations.
>
> 3.
>
> *Introduction of **%notin%** operator*
>
> -
>
> %notin% added as a base R idiom for !(x %in% table).
> -
>
> Enhances readability and avoids repeated negation in user code.
>
>
>
> *Motivation:*
>
>
> -
>
> Enhance S4 object compatibility.
> -
>
> Improve string handling convenience.
> -
>
> Provide a cleaner syntax for common negation of %in%.
>
>
> *Impact:*
>
>
> -
>
> Backward compatible; no breaking changes for existing S3 workflows.
>
> The corresponding patch files are attached to this email.
>
> I hope these changes are helpful. I look forward to any feedback or
> suggestions you may have.
>
>
> Thank you for your time and for maintaining R!
>
>
> Best regards,
>
> Aakriti Kushwaha
>
> GitHub: aakritixyz <https://github.com/aakritixyz>
> ______________________________________________
> R-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
--
Dr. Benjamin Bolker
Professor, Mathematics & Statistics and Biology, McMaster University
Associate chair (graduate), Mathematics & Statistics
Director, School of Computational Science and Engineering
* E-mail is sent at my convenience; I don't expect replies outside of
working hours.
More information about the R-devel
mailing list