hadley/scales — pull request #15 by jiho (2012-03-27 09:18:39+00:00)
Title: Check the type argument for brewer.pal

Previously, specifying a non valid argument resulted in a cryptic error
because pal_name returned NULL.