Re: [Rd] summary of lme4.0 model in package

2014-04-07 Thread ONKELINX, Thierry
key Van: Joris Meys [mailto:jorism...@gmail.com] Verzonden: donderdag 3 april 2014 15:18 Aan: ONKELINX, Thierry CC: Joshua Wiley; r-devel@r-project.org Onderwerp: Re: [Rd] summary of lme4.0 model in package Thierry, did you try to importFrom() in the namespace file? That way you know for sure

Re: [Rd] summary of lme4.0 model in package

2014-04-04 Thread Benjamin Hofner
Dear Thierry, I had the same problem in my package papeR, where I was depending on lme4 in my DESCRIPTION file. The problem vanished after I also added import(lme4) to my NAMESPACE (which is advised nowadays by R CMD check anyway). You can of course also use importFrom() to import the summary

Re: [Rd] summary of lme4.0 model in package

2014-04-03 Thread Joris Meys
answer can be extracted from a given body of data. > ~ John Tukey > > > -Oorspronkelijk bericht- > Van: ONKELINX, Thierry > Verzonden: donderdag 3 april 2014 13:44 > Aan: 'Joshua Wiley' > CC: r-devel@r-project.org > Onderwerp: RE: [Rd] summary of lme4.0

Re: [Rd] summary of lme4.0 model in package

2014-04-03 Thread ONKELINX, Thierry
Thierry Verzonden: donderdag 3 april 2014 13:44 Aan: 'Joshua Wiley' CC: r-devel@r-project.org Onderwerp: RE: [Rd] summary of lme4.0 model in package Dear Joshua, Thank you for quick reply. Note that my package has Depends: lme4.0 in DESCRIPTION. It imports and suggests other packages but no

Re: [Rd] summary of lme4.0 model in package

2014-04-03 Thread ONKELINX, Thierry
r can be extracted from a given body of data. ~ John Tukey Van: Joshua Wiley [mailto:jwiley.ps...@gmail.com] Verzonden: donderdag 3 april 2014 12:36 Aan: ONKELINX, Thierry CC: r-devel@r-project.org Onderwerp: Re: [Rd] summary of lme4.0 model in package Dear Thierry, You have lme4.0_0.99-4 atta

Re: [Rd] summary of lme4.0 model in package

2014-04-03 Thread Joshua Wiley
Dear Thierry, You have lme4.0_0.99-4 attached and lme4_1.1-5 loaded via a namespace. I wonder if changes between the versions and which was getting called when are making the difference. In particular, when you source it, I would assume methods from the attached package are used. When you

[Rd] summary of lme4.0 model in package

2014-04-03 Thread ONKELINX, Thierry
Dear all, My package has Depends: lme4.0 in the DESCRIPTION. I need to extract the fixed effect of a model and their standard errors. I use coef(summary(model)) inside a function to do that. Model is the output of a call to glmer() from the lme4.0 package. coef(summary(model)) throws an error: