* using log directory ‘/srv/hornik/tmp/CRAN/PHeval.Rcheck’ * using R Under development (unstable) (2024-08-26 r87056) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 18.1.8 (9) Debian flang-new version 18.1.8 (9) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘PHeval/DESCRIPTION’ ... OK * this is package ‘PHeval’ version ‘1.0’ * checking CRAN incoming feasibility ... [3s/3s] NOTE Maintainer: ‘Cecile Chauvel ’ New maintainer: Cecile Chauvel Old maintainer(s): Cecile Chauvel No Authors@R field in DESCRIPTION. Please add one, modifying Authors@R: person(given = "Cecile", family = "Chauvel", role = c("aut", "cre"), email = "cecile.chauvel@univ-lyon1.fr") as necessary. * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking serialization versions ... OK * checking whether package ‘PHeval’ can be installed ... [3s/3s] OK * checking package directory ... OK * checking for future file timestamps ... 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 code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] 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 ... [5s/5s] NOTE pvalmax: no visible global function definition for ‘rmvnorm’ testscore: no visible global function definition for ‘pnorm’ testscore: no visible global function definition for ‘pmvnorm’ testscore: no visible global function definition for ‘pchisq’ Undefined global functions or variables: pchisq pmvnorm pnorm rmvnorm Consider adding importFrom("stats", "pchisq", "pnorm") to your NAMESPACE file. * checking Rd files ... [0s/0s] WARNING ./man/PHeval-package.Rd: non-ASCII input and no declared encoding ./man/testscore.Rd: non-ASCII input and no declared encoding problems found in ‘PHeval-package.Rd’, ‘testscore.Rd’ * checking Rd metadata ... OK * checking Rd line widths ... NOTE Rd file 'plotscore.Rd': \usage lines wider than 90 characters: plotscore(s, printCB = FALSE , component.num = 1:dim(s[[1]])[2], main = "" , xlab = "Time", ylab = "Standardized score", ylim) Rd file 'testscore.Rd': \examples lines wider than 100 characters: coxph(Surv(futime,fustat)~ age+rx,data=ovarian) # the values 0.14 and -0.8 are the estimated coefficients in the Cox model. These lines will be truncated in the PDF manual. * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... WARNING Codoc mismatches from Rd file 'testscore.Rd': testscore Code: function(formula, data, beta0 = 0, n_rep = 10^6, digits = 5) Docs: function(formula, data, beta0 = 0, n_rep = 10^6, round.res = 5) Argument names in code not in docs: digits Argument names in docs not in code: round.res Mismatches in argument names: Position: 5 Code: digits Docs: round.res * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... [1s/1s] ERROR Running examples in ‘PHeval-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: PHeval-package > ### Title: Evaluation of the proportional hazards assumption with a > ### standardized score process > ### Aliases: PHeval-package PHeval > > ### ** Examples > > library(survival) > S=standscore(futime+fustat~resid.ds+rx,data=ovarian) > plotscore(S,printCB = TRUE) > testscore(futime+fustat~resid.ds+rx,data=ovarian) Error in rmvnorm(n_rep, mean = c(0, 0, 0, 0), sigma = matrix(c(1, 0, sqrt(3)/2, : could not find function "rmvnorm" Calls: testscore -> pvalmax Execution halted * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 2 WARNINGs, 3 NOTEs