| fastverse_conflicts {fastverse} | R Documentation |
This function lists all the conflicts among fastverse packages and between fastverse packages and other attached packages. It can also be used to check conflicts for any other attached packages.
fastverse_conflicts(pkg = fastverse_packages())
pkg |
character. A vector of packages to check conflicts for. The default is all fastverse packages. |
There are 2 internal conflict in the core fastverse which are not displayed by fastverse_conflicts():
collapse::funique masks kit::funique. If both packages are detached, collapse is attached after kit. In general, the
collapse version is often faster on data frames and supports unique rows on selected columns. An option sort = TRUE lets collapse::funique
return sorted unique values. The kit version is often faster for vectors and also supports matrices.
matrixStats::count masks kit::count. The matrixStats version is more flexible, supporting restricted search and missing value removal. The kit version is nearly twice as fast.
An object of class 'fastverse_conflicts': A named list of character vectors where the names are the conflicted objects, and the
content are the names of the package namespaces containing the object, in the order they appear on the search path.
# Check conflicts between fastverse packages and all attached packages fastverse_conflicts() # Check conflicts among all attached packages fastverse_conflicts(rm_stub(search()[-1], "package:"))