The official source of R is not on Github, but there is a read-only mirror 
there: 
https://github.com/wch/r-source/blob/trunk/src%2Flibrary%2Fstats%2FR%2Fcov.wt.R#L19

On October 13, 2025 11:31:23 AM PDT, Bruno Martins 
<[email protected]> wrote:
>Hello, R team!
>
>My name is Bruno and I am a Data Scientist from Portugal.
>
>An internal package of mine is making use of stats::cov.wt(), which I 
>inspected source code for, but would like to know if the {stats} package 
>source code is available on GitHub? I've looked throughout repos, but can't 
>seem to find it.
>
>I am looking to rewrite my own version in Rcpp, but would like to have more 
>context on the module to implement things right.
>
>Any help here would be greatly appreciated.
>
>Thank you!
>
>Bruno MArtins
>
>______________________________________________
>[email protected] mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide https://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.

-- 
Sent from my phone. Please excuse my brevity.

______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide https://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to