* using log directory 'd:/Rcompile/CRANpkg/local/3.3/inarmix.Rcheck' * using R version 3.3.2 (2016-10-31) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'inarmix/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'inarmix' version '0.4' * 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 'inarmix' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... NOTE Malformed Title field: should not end in a period. * 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 * loading checks for arch 'i386' ** 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 * loading checks for arch 'x64' ** 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 ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... NOTE GenerateMixData: no visible global function definition for 'rnbinom' GenerateMixData: no visible global function definition for 'rbeta' GenerateMixData: no visible global function definition for 'rbinom' GenerateMixData: no visible global function definition for 'rpois' InitializePars: no visible global function definition for 'aggregate' InitializePars: no visible global function definition for 'rnorm' MultiStart: no visible global function definition for 'rnorm' MultiStart: no visible global function definition for 'runif' inarmix: no visible global function definition for 'terms' inarmix: no visible global function definition for 'model.frame' inarmix: no visible global function definition for 'model.response' inarmix: no visible global function definition for 'model.matrix' print.diagnose.inarmix: no visible global function definition for 'plot' print.diagnose.inarmix: no visible global function definition for 'lines' print.summary.inarmix: no visible global function definition for 'printCoefmat' summary.inarmix: no visible global function definition for 'pnorm' Undefined global functions or variables: aggregate lines model.frame model.matrix model.response plot pnorm printCoefmat rbeta rbinom rnbinom rnorm rpois runif terms Consider adding importFrom("graphics", "lines", "plot") importFrom("stats", "aggregate", "model.frame", "model.matrix", "model.response", "pnorm", "printCoefmat", "rbeta", "rbinom", "rnbinom", "rnorm", "rpois", "runif", "terms") to your NAMESPACE file. * 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 ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking compiled code ... OK * checking examples ... ** running examples for arch 'i386' ... ERROR Running examples in 'inarmix-Ex.R' failed The error most likely occurred in: > ### Name: diagnose > ### Title: Diagnostics for the model fit. > ### Aliases: diagnose > ### Keywords: print > > ### ** Examples > > XX <- cbind(rep(1,9),c(0:8)/4) > colnames(XX) <- c("const","time") > coefs <- rbind(c(-.2,0),c(1.2,.3)) > alpha <- c(.2,.2) > scale <- c(2,2) > mix.prop <- c(.8,.2) > > testdat <- GenerateMixData(200,coefs,alpha,scale,mix.prop,XX) > testfit <- inarmix(y~time,nclasses=2,id=subject,data=testdat,maxiter=3) Iteration: 1 Iteration: 2 Iteration: 3 [1] 1.298389e-224 [1] 1.298389e-224 Error in solve.default(hh$dermat, hh$sqmat) : system is computationally singular: reciprocal condition number = 1.29839e-224 Calls: inarmix -> tcrossprod -> solve -> solve -> solve.default Execution halted ** running examples for arch 'x64' ... [14s] OK * checking PDF version of manual ... OK * DONE Status: 1 ERROR, 2 NOTEs