In certain cases, a rough estimate of the probability of a collision would be handy.
E.g. here we want to name a function mm, but it isn't clear whether these potential collisions are likely or unlikely
library(collidr)
CRAN_collisions("mm")
$packages
character(0)
$functions
package_names function_names
24188 brms mm
37829 compactr mm
43045 cregg mm
111047 hett mm
152326 mindr mm
159947 mosaic mm
204418 QuantumOps mm
215116 regtools mm
An estimate could be based on how often each library is used with each other library, based on bigquery dataset of R github repos, or, perhaps more easily, see CRAN packages' reverse depends/imports as a proxy for actual use of each package with each other package.
In certain cases, a rough estimate of the probability of a collision would be handy.
E.g. here we want to name a function
mm
, but it isn't clear whether these potential collisions are likely or unlikelyAn estimate could be based on how often each library is used with each other library, based on bigquery dataset of R github repos, or, perhaps more easily, see CRAN packages' reverse depends/imports as a proxy for actual use of each package with each other package.