harrelfe / rms

Regression Modeling Strategies
https://hbiostat.org/R/rms
Other
176 stars 49 forks source link

Set a .gitattributes to guide language count #129

Closed eddelbuettel closed 1 year ago

eddelbuettel commented 1 year ago

This is what we sometimes call a 'quality-of-life' PR affecting only the GitHub repo and not the actual R package that matter so feel free to ignore it.

We set a file .gitattributes with content telling GitHub that .s files are in fact R files. Then the language distribution 'guess' gets corrected as shown in this screenshot from my fork:

image

At your repo the majority is still incorrectly shown as 'Assembly' which is very sweet in its own way for those of us who have been following rms (and Hmisc) since before they were CRAN packages and know the S history :smile: