I am in charge of about 10 packages which get frequently updated. How can I avoid that someone exports a name from a package that conflicts with another exported name within our eco-system before making a new release?
Is it possible to write a test script that checks this kind of conflict for all packages?
You could just make a script that is using
all of the packages and check the output for the warning that some name needs to be qualified because it is exported by 2 packages.
You can of course write this check more directly by getting the list of all exported symbols of each package (via names(module)
) and comparing these against each other.