* using log directory 'd:/Rcompile/CRANpkg/local/3.4/someMTP.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 'someMTP/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'someMTP' version '1.4.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 'someMTP' 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 * 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 ... NOTE Warning: no function found corresponding to methods exports from 'someMTP' for: 'show' A namespace must be able to be loaded with just the base namespace loaded: otherwise if the namespace gets loaded by a saved object, the session will be unable to start. Probably some imports need to be declared in the NAMESPACE file. * 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: 'methods' 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 ... OK * checking R code for possible problems ... [7s] NOTE .getAlternative: no visible global function definition for 'is' .getNull: no visible global function definition for 'is' .getNull: no visible global function definition for 'terms' .getNull: no visible global function definition for 'model.offset' .getNull: no visible global function definition for 'model.frame' .getNull: no visible global function definition for 'model.matrix' .getXY: no visible global function definition for 'is' .getXY: no visible global function definition for 'terms' .getXY: no visible global function definition for 'formula' .getXY : : no visible global function definition for 'lm' .getXY : : no visible global function definition for 'coef' .makeContrasts: no visible global function definition for 'model.frame' .makeContrasts: no visible global function definition for 'terms' .makeContrasts: no visible global function definition for 'model.matrix' draw: no visible global function definition for 'pdf' draw: no visible global function definition for 'par' draw: no visible global function definition for 'plot' draw: no visible global function definition for 'abline' draw: no visible global function definition for 'legend' draw: no visible global function definition for 'dev.off' fdrOrd: no visible global function definition for 'new' kfweOrd: no visible global function definition for 'qnbinom' kfweOrd: no visible global function definition for 'new' lsd.test: no visible global function definition for 'new' lsd.test: no visible global function definition for 'pf' step.adj: no visible global function definition for 'is' step.adj: no visible global function definition for 'glm' step.adj: no visible global function definition for 'step' step.adj: no visible global function definition for 'anova' step.adj : redo: no visible global function definition for 'update' step.adj : redo: no visible global function definition for 'step' step.adj : redo: no visible global function definition for 'anova' Undefined global functions or variables: abline anova coef dev.off formula glm is legend lm model.frame model.matrix model.offset new par pdf pf plot qnbinom step terms update Consider adding importFrom("grDevices", "dev.off", "pdf") importFrom("graphics", "abline", "legend", "par", "plot") importFrom("methods", "is", "new") importFrom("stats", "anova", "coef", "formula", "glm", "lm", "model.frame", "model.matrix", "model.offset", "pf", "qnbinom", "step", "terms", "update") to your NAMESPACE file (and ensure that your DESCRIPTION Imports field contains 'methods'). * 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 examples ... [6s] OK * checking PDF version of manual ... OK * DONE Status: 3 NOTEs