* using log directory 'd:/Rcompile/CRANpkg/local/3.3/AdMit.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 'AdMit/DESCRIPTION' ... OK * this is package 'AdMit' version '2.0.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 'AdMit' 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 * 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 ... NOTE Package in Depends field not imported from: 'mvtnorm' These packages need to be imported from (in the NAMESPACE file) for when this namespace is loaded but not attached. * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... NOTE Calls with DUP: .C("fnMH_C", theta = as.double(as.vector(t(theta))), N = as.integer(N), k = as.integer(k), lnw = as.double(lnw), u = as.double(runif(N)), draws = vector("double", N * k), ns = as.integer(0), PACKAGE = "AdMit", NAOK = TRUE, DUP = FALSE) .C("fnlnf_C", lnp = as.double(log(fn.lambdap(lambda))), lnk = as.double(as.vector(t(lnK))), lnd = as.double(as.vector(t(lnD))), Np = as.integer(Np), H = as.integer(H), f = as.double(0), grad = vector("double", H), PACKAGE = "AdMit", NAOK = TRUE, DUP = FALSE) DUP is no longer supported and will be ignored. * checking R code for possible problems ... NOTE AdMitMH: no visible global function definition for 'runif' fn.CV: no visible global function definition for 'sd' fn.dmvt: no visible global function definition for 'dmvt' fn.optmu : fn.optmu_sub: no visible global function definition for 'optim' fn.optp: no visible global function definition for 'nlminb' fn.optp: no visible global function definition for 'optim' fn.rmvt: no visible global function definition for 'rmvt' Undefined global functions or variables: dmvt nlminb optim rmvt runif sd Consider adding importFrom("stats", "nlminb", "optim", "runif", "sd") 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 compiled code ... OK * checking sizes of PDF files under 'inst/doc' ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... ** running examples for arch 'i386' ... [4s] OK ** running examples for arch 'x64' ... [5s] OK * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [18s] OK * checking PDF version of manual ... OK * DONE Status: 3 NOTEs