Hi all,

I'm struggling with accessing a package dataset (munsell.map, stored
in sysdata.rda) when that package is imported, not required.  A simple
reproducible example is:

install.packages("munsell")
munsell::mnsl("10B 4/6")
# Error in match(col, munsell.map$name) : object 'munsell.map' not found

library(munsell)
munsell::mnsl("10B 4/6")
# Function works correctly

Am I doing something wrong, or is this namespace bug?

Hadley

-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to