* using log directory 'd:/Rcompile/CRANpkg/local64/2.11/RMC.Rcheck'
* using R version 2.11.1 (2010-05-31)
* using session charset: ISO8859-1
* checking for file 'RMC/DESCRIPTION' ... OK
* this is package 'RMC' version '0.1'
* checking package name space information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking whether package 'RMC' can be installed ... OK
* checking package directory ... OK
* checking for portable file names ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the name space can be loaded with stated dependencies ... OK
* checking whether the name space can be unloaded cleanly ... OK
* checking for unstated dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking line endings in C/C++/Fortran sources/headers ... OK
* checking line endings in Makefiles ... OK
* checking for portable compilation flags in Makevars ... OK
* checking for portable use of $BLAS_LIBS ... OK
* checking examples ... ERROR
Running examples in 'RMC-Ex.R' failed.
The error most likely occurred in:

> ### * MVfill
> 
> flush(stderr()); flush(stdout())
> 
> ### Name: MVfill
> ### Title: Fill in missing values via a single imputation from the fitted
> ###   model.
> ### Aliases: MVfill MVfill
> ### Keywords: misc
> 
> ### ** Examples
> 
> #form data with NAs in the outcomes
> dataEG2.NA <- dataEG2
> dataEG2.NA[sample(1:nrow( dataEG2.NA), 1000),"state"] <- NA	#specify lots of NAs
> #fit a model using dataEG2.NA
> fm.est2.NA <- RMC.mod( states=dataEG2.NA[,2], chain.id=dataEG2.NA[,1], X=dataEG2.NA[,-(1:2)])
Incidence matrix for phi not given or doesn't match design matrix - all variables included 
Incidence vector for pi not given or doesn't match design matrix - all variables included 
Error in .C("topTailChains", as.integer(states), as.integer(n.obs), as.integer(length(n.obs)),  : 
  C symbol name "topTailChains" not in DLL for package "RMC"
Calls: RMC.mod -> .C
Execution halted

