[R] Issue calling MICE package

Michael Dewey lists at dewey.myzen.co.uk
Wed Oct 4 17:00:48 CEST 2017


Dear Ole

One of the experts may be able to diagnose this without extra 
information but I suspect you have not got the right magic in your 
NAMESPACE file in your package. You may need to re-read section 1.5.1 of 
the Writing R extensions manual.

Michael

On 04/10/2017 13:47, Ole Høst wrote:
> I want to call the mice function from the MICE package from my own package.
> However I run into this issue, which can be reproduced on the command line:
> 
> mice::mice(airquality)#> Error in check.method(setup, data): The
> following functions were not found: mice.impute.pmm, mice.impute.pmm
> 
> I have no problems when doing
> 
> library(mice)
> mice(airquality)
> 
> Is this a bug or am I missing something?
> 
> Thanks,
> Ole Høst
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
> ---
> This email has been checked for viruses by AVG.
> http://www.avg.com
> 

-- 
Michael
http://www.dewey.myzen.co.uk/home.html



More information about the R-help mailing list