* using log directory 'd:/RCompile/CRANincoming/R-devel/CTT.Rcheck' * using R Under development (unstable) (2026-01-22 r89323 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'CTT/DESCRIPTION' ... OK * this is package 'CTT' version '2.3.4' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Purwoko Haryadi Santoso ' New maintainer: Purwoko Haryadi Santoso Old maintainer(s): John T. Willse Possibly misspelled words in DESCRIPTION: distractor (9:236) * 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 'CTT' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... NOTE Authors@R field gives no person with maintainer role, valid email address and non-empty name. Author field differs from that derived from Authors@R Author: 'John T. Willse' Authors@R: 'John T. Willse [aut, cre], Purwoko Haryadi Santoso [ctb] (ORCID: )' Maintainer field differs from that derived from Authors@R Maintainer: 'Purwoko Haryadi Santoso ' Authors@R: '' * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code 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 ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... NOTE cttICC: no visible global function definition for 'na.omit' cttICC: no visible global function definition for 'jpeg' cttICC: no visible global function definition for 'png' cttICC: no visible global function definition for 'points' cttICC: no visible global function definition for 'dev.off' distractor.analysis: no visible global function definition for 'quantile' distractor.analysis : itemtab: no visible global function definition for 'xtabs' distractor.analysis : itemtabp: no visible global function definition for 'xtabs' distractor.analysis: no visible global function definition for 'write.table' distractorAnalysis: no visible global function definition for 'quantile' distractorAnalysis : itemtab: no visible global function definition for 'xtabs' distractorAnalysis: no visible global function definition for 'cor' distractorAnalysis: no visible global function definition for 'write.table' itemAnalysis: no visible global function definition for 'na.omit' itemAnalysis: no visible binding for global variable 'var' itemAnalysis: no visible global function definition for 'var' itemAnalysis: no visible global function definition for 'cor' itemAnalysis: no visible global function definition for 'sd' polyserial: no visible global function definition for 'complete.cases' polyserial: no visible global function definition for 'qnorm' polyserial: no visible global function definition for 'cor' polyserial: no visible global function definition for 'sd' polyserial: no visible global function definition for 'dnorm' polyserial : negLogLik: no visible global function definition for 'pnorm' polyserial : negLogLik: no visible global function definition for 'dnorm' polyserial: no visible global function definition for 'optim' reliability: no visible global function definition for 'na.omit' reliability: no visible binding for global variable 'var' reliability: no visible global function definition for 'var' reliability: no visible global function definition for 'cor' reliability: no visible global function definition for 'sd' score.transform: no visible global function definition for 'qnorm' score.transform: no visible global function definition for 'sd' Undefined global functions or variables: complete.cases cor dev.off dnorm jpeg na.omit optim png pnorm points qnorm quantile sd var write.table xtabs Consider adding importFrom("grDevices", "dev.off", "jpeg", "png") importFrom("graphics", "points") importFrom("stats", "complete.cases", "cor", "dnorm", "na.omit", "optim", "pnorm", "qnorm", "quantile", "sd", "var", "xtabs") importFrom("utils", "write.table") to your NAMESPACE file. * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... ERROR Running examples in 'CTT-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: cttICC > ### Title: Function for producing theoretical and empirical item > ### characteristic curves. > ### Aliases: cttICC > ### Keywords: misc > > ### ** Examples > > > library(CTT)# Example data provided with package > data(CTTdata) > data(CTTkey) > > # Scores for each preson > myScores <- score(CTTdata,CTTkey, output.scored=TRUE) Error in score(CTTdata, CTTkey, output.scored = TRUE) : could not find function "score" Execution halted * checking PDF version of manual ... [19s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 3 NOTEs