You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Function arguments that have similar (identical) descriptions have similar (identical) argument names across a package
Relatively easily done at scale these days thanks to developments like Finding near-duplicates with Jaccard similarity and MinHash, which could be applied to parameter descriptions. It would nevertheless involve a fair bit of work for a check that would likely almost never fail, so maybe not really worthwhile? This would also introduce some pretty heavy external deps in pkgcheck, along the likes of spacy or quanteda for efficient tokenization, which is also a minus. @PietrH happy to discuss further here. Thanks for the idea 👍
The text was updated successfully, but these errors were encountered:
Idea from @PietrH via internal https://ropensci.slack.com/archives/C05C3GP1CSU/p1719994234029299, to check that
Relatively easily done at scale these days thanks to developments like Finding near-duplicates with Jaccard similarity and MinHash, which could be applied to parameter descriptions. It would nevertheless involve a fair bit of work for a check that would likely almost never fail, so maybe not really worthwhile? This would also introduce some pretty heavy external deps in
pkgcheck
, along the likes of spacy or quanteda for efficient tokenization, which is also a minus. @PietrH happy to discuss further here. Thanks for the idea 👍The text was updated successfully, but these errors were encountered: