* using log directory 'd:/Rcompile/CRANpkg/local/3.3/simr.Rcheck' * using R version 3.3.3 (2017-03-06) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'simr/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'simr' version '1.0.3' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'simr' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over 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 loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... NOTE Missing or unexported objects: 'lmerTest::anova' 'lmerTest::summary' * 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 ... WARNING Missing link or links in documentation object 'simrOptions.Rd': '[lmerTest:anova.merModLmerTest]{lmerTest::anova}' Missing link or links in documentation object 'tests.Rd': '[lmerTest:anova.merModLmerTest]{lmerTest::anova}' See section 'Cross-references' in the 'Writing R Extensions' manual. * 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 ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [12s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [52s] ERROR Running 'test-all.R' [52s] Running the tests in 'tests/test-all.R' failed. Complete output: > if(require(testthat)) { + + test_check("simr") + } Loading required package: testthat Loading required package: simr Loading required package: lme4 Loading required package: Matrix Attaching package: 'simr' The following object is masked from 'package:testthat': compare -- 1. Error: lmer tests work (@test_testLibrary.R#52) ------------------------- 'summary' is not an exported object from 'namespace:lmerTest' 1: doTest(fm1, fixed("x", "sa")) at testthat/test_testLibrary.R:52 2: doTest.default(fm1, fixed("x", "sa")) 3: test(object) 4: test(., xname) 5: lmerTest::summary 6: getExportedValue(pkg, name) 7: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)), call. = FALSE, domain = NA) == testthat results =========================================================== OK: 100 SKIPPED: 2 FAILED: 1 1. Error: lmer tests work (@test_testLibrary.R#52) Error: testthat unit tests failed Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [51s] OK * checking PDF version of manual ... OK * DONE Status: 1 ERROR, 1 WARNING, 1 NOTE