- using R version 2.15.0 Patched (2012-05-19 r59366)
- using platform: x86_64-unknown-linux-gnu (64-bit)
- using session charset: UTF-8
- checking for file ‘mitools/DESCRIPTION’ ... OK
- this is package ‘mitools’ version ‘2.1’
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking whether package ‘mitools’ can be installed ... OK
- checking installed package size ... OK
- checking package directory ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... 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 namespace can be loaded with stated dependencies ... OK
- checking whether the namespace 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 ... NOTE
summary.MIresult: warning in qt(alpha/2, object$df, lower = FALSE):
partial argument match of 'lower' to 'lower.tail'
- 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 for unstated dependencies in examples ... WARNING
‘::’ or ‘:::’ import not declared from: ‘foreign’
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking sizes of PDF files under ‘inst/doc’ ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking examples ... ERROR
Running examples in ‘mitools-Ex.R’ failed
The error most likely occurred in:
> ### Name: imputationList
> ### Title: Constructor for imputationList objects
> ### Aliases: imputationList print.imputationList rbind.imputationList
> ### cbind.imputationList dimnames.imputationList dim.imputationList
> ### update.imputationList imputationList.default imputationList.character
> ### Keywords: manip
>
> ### ** Examples
>
> data.dir <- system.file("dta",package="mitools")
> files.men <- list.files(data.dir,pattern="m.\\.dta$",full=TRUE)
> men <- imputationList(lapply(files.men, foreign::read.dta))
Error in loadNamespace(name) : there is no package called ‘foreign’
Calls: imputationList ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted