* using log directory 'd:/Rcompile/CRANpkg/local/3.4/endogMNP.Rcheck' * using R version 3.4.4 (2018-03-15) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'endogMNP/DESCRIPTION' ... OK * this is package 'endogMNP' version '0.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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'endogMNP' can be installed ... OK * checking installed package size ... OK * checking package 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 * 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 ... [7s] NOTE File 'endogMNP/R/onAttach.R': .onAttach calls: cat(paste(pkg, ": ", title, "\nVersion: ", ver, "\n", sep = "")) Package startup functions should use 'packageStartupMessage' to generate messages. See section 'Good practice' in '?.onAttach'. XandYmatrix.endogMNP: warning in matrix(NA, nc = p1, nr = length(Y1)): partial argument match of 'nr' to 'nrow' XandYmatrix.endogMNP: warning in matrix(NA, nc = p1, nr = length(Y1)): partial argument match of 'nc' to 'ncol' XandYmatrix.endogMNP: warning in matrix(cbind(Y1, naMat), nc = p1 + 1): partial argument match of 'nc' to 'ncol' XandYmatrix.endogMNP: warning in matrix(Y, nc = 1, byrow = TRUE): partial argument match of 'nc' to 'ncol' XandYmatrix.endogMNP: warning in matrix(0, nr = ((p1 - 1 + (p1 - 1) * (p2 - 1)) * length(Y1)), nc = ((length(selX[1, ])) * (p1 - 1) + (length(outX[1, ])) * (p1 - 1) * (p2 - 1))): partial argument match of 'nr' to 'nrow' XandYmatrix.endogMNP: warning in matrix(0, nr = ((p1 - 1 + (p1 - 1) * (p2 - 1)) * length(Y1)), nc = ((length(selX[1, ])) * (p1 - 1) + (length(outX[1, ])) * (p1 - 1) * (p2 - 1))): partial argument match of 'nc' to 'ncol' XandYmatrix.endogMNP: warning in matrix(0, nr = ((p1 - 1 + p1 * (p2 - 1)) * length(Y1)), nc = ((length(selX[1, ])) * (p1 - 1) + (length(outX[1, ])) * p1 * (p2 - 1))): partial argument match of 'nr' to 'nrow' XandYmatrix.endogMNP: warning in matrix(0, nr = ((p1 - 1 + p1 * (p2 - 1)) * length(Y1)), nc = ((length(selX[1, ])) * (p1 - 1) + (length(outX[1, ])) * p1 * (p2 - 1))): partial argument match of 'nc' to 'ncol' XandYmatrix.endogMNP: warning in matrix(selX[i, ], nr = 1): partial argument match of 'nr' to 'nrow' XandYmatrix.endogMNP: warning in matrix(outX[i, ], nr = 1): partial argument match of 'nr' to 'nrow' XandYmatrix.endogMNP: warning in matrix(0, nr = dim(selPart)[1], nc = dim(outPart)[2]): partial argument match of 'nr' to 'nrow' XandYmatrix.endogMNP: warning in matrix(0, nr = dim(selPart)[1], nc = dim(outPart)[2]): partial argument match of 'nc' to 'ncol' XandYmatrix.endogMNP: warning in matrix(0, nr = dim(outPart)[1], nc = dim(selPart)[2]): partial argument match of 'nr' to 'nrow' XandYmatrix.endogMNP: warning in matrix(0, nr = dim(outPart)[1], nc = dim(selPart)[2]): partial argument match of 'nc' to 'ncol' XandYmatrix.endogMNP: warning in matrix(xMatrix, nc = 1, byrow = TRUE): partial argument match of 'nc' to 'ncol' endogMNP : captureFormula: warning in match.call(expand = FALSE): partial argument match of 'expand' to 'expand.dots' .onAttach: no visible global function definition for 'packageDescription' XandYmatrix.endogMNP: no visible global function definition for 'relevel' endogMNP: no visible global function definition for 'model.response' endogMNP: no visible global function definition for 'model.frame' endogMNP: no visible global function definition for 'model.matrix.default' print.summary.endogMNP: no visible global function definition for 'printCoefmat' summary.endogMNP: no visible binding for global variable 'sd' summary.endogMNP: no visible binding for global variable 'quantile' Undefined global functions or variables: model.frame model.matrix.default model.response packageDescription printCoefmat quantile relevel sd Consider adding importFrom("stats", "model.frame", "model.matrix.default", "model.response", "printCoefmat", "quantile", "relevel", "sd") importFrom("utils", "packageDescription") 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 ... NONE * checking PDF version of manual ... OK * DONE Status: 1 NOTE