I have a package which uses the tmPlot function from treemap, but when I try to use the function, it throws an error that one of its dependencies i
tmPlot
treemap
before calling the tmPlot(data, index = index, vSize = vSize), you need to load RColorBrewer:
tmPlot(data, index = index, vSize = vSize)
require(RColorBrewer)