>> Yes, sysdata.rda is in package/R - source code available here:
>> https://github.com/cwickham/munsell/tree/master/R
>
> I think the problem was you weren't using the github code. When I install
> it, I don't get the error. I only get it from the CRAN version of the
> package, which had the mun
On 11-08-30 8:41 PM, Hadley Wickham wrote:
That works fine for me as well and then this special data are available when
the Namespace is loaded already. Have you put that file into package/R
rather than package/data? Which R version?
Yes, sysdata.rda is in package/R - source code available here
> That works fine for me as well and then this special data are available when
> the Namespace is loaded already. Have you put that file into package/R
> rather than package/data? Which R version?
Yes, sysdata.rda is in package/R - source code available here:
https://github.com/cwickham/munsell/tr
On 30.08.2011 19:52, Hadley Wickham wrote:
Lazy data is stored in a separate file that is loaded when
library(munsell) is called. It appears it isn't being loaded when you
only use munsell::mnsl to load it but not attach it. Certainly loading
it from one of your .R files would work; I'm not sur
>> Lazy data is stored in a separate file that is loaded when
>> library(munsell) is called. It appears it isn't being loaded when you
>> only use munsell::mnsl to load it but not attach it. Certainly loading
>> it from one of your .R files would work; I'm not sure if it is
>> intentional that this
On 30.08.2011 18:59, Duncan Murdoch wrote:
On 30/08/2011 11:27 AM, Hadley Wickham wrote:
> Your package is doing something weird, so I think it's you: you are
loading
> the munsell.map file via "load.r" in the top level of the package.
That's
> not a standard thing to do, and it's not being ex
On 30/08/2011 11:27 AM, Hadley Wickham wrote:
> Your package is doing something weird, so I think it's you: you are loading
> the munsell.map file via "load.r" in the top level of the package. That's
> not a standard thing to do, and it's not being executed in the first case.
>
> Put that l
> Your package is doing something weird, so I think it's you: you are loading
> the munsell.map file via "load.r" in the top level of the package. That's
> not a standard thing to do, and it's not being executed in the first case.
>
> Put that load statement into one of the files in the R directo
I struggled with this for a while too, and I have no idea why this
data object is unavailable. Finally I found this can do the trick:
data(munsell_map, package = "munsell")
munsell::mnsl("10B 4/6")
## works
But I still cannot understand this.
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web:
Bump. Any comments on this?
Hadley
On Tue, Aug 16, 2011 at 10:53 AM, Hadley Wickham wrote:
> 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("
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 foun
11 matches
Mail list logo