It also required modifying the palette functions in the scales package. One drawback to modularization of packages is that it makes it complicated to synchronize and reference fixes. The problem was that scale$palette(n) can only take a number, when it sometimes needs a vector of names ...