* using log directory ‘/data/localhost/ripley/R/packages/tests-donttest/pssmooth.Rcheck’ * using R Under development (unstable) (2026-12-01 r91013) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3) GNU Fortran (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3) * running under: Fedora Linux 44 (Server Edition) * using session charset: UTF-8 * current time: 2026-12-01 17:53:14 UTC * checking for file ‘pssmooth/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘pssmooth’ version ‘1.0.4’ * package encoding: UTF-8 * 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 whether package ‘pssmooth’ can be installed ... 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 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 ... OK * 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 examples ... OK * checking examples with --run-donttest ... ERROR Running examples in ‘pssmooth-Ex.R’ failed The error most likely occurred in: > ### Name: plotMCEPcurve > ### Title: Plotting of the Estimated Marginal Causal Effect Predictiveness > ### Curve > ### Aliases: plotMCEPcurve > > ### ** Examples > > n <- 500 > Z <- rep(0:1, each=n/2) > S <- MASS::mvrnorm(n, mu=c(2,2,3), Sigma=matrix(c(1,0.9,0.7,0.9,1,0.7,0.7,0.7,1), nrow=3)) > p <- pnorm(drop(cbind(1,Z,(1-Z)*S[,2],Z*S[,3]) %*% c(-1.2,0.2,-0.02,-0.2))) > Y <- sapply(p, function(risk){ rbinom(1,1,risk) }) > X <- rbinom(n,1,0.5) > # delete S(1) in placebo recipients > S[Z==0,3] <- NA > # delete S(0) in treatment recipients > S[Z==1,2] <- NA > # generate the indicator of being sampled into the phase 2 subset > phase2 <- rbinom(n,1,0.3) > # delete Sb, S(0) and S(1) in controls not included in the phase 2 subset > S[Y==0 & phase2==0,] <- c(NA,NA,NA) > # delete Sb in cases not included in the phase 2 subset > S[Y==1 & phase2==0,1] <- NA > data <- data.frame(X,Z,S[,1],ifelse(Z==0,S[,2],S[,3]),Y) > colnames(data) <- c("X","Z","Sb","S","Y") > qS <- quantile(data$S, probs=c(0.05,0.95), na.rm=TRUE) > grid <- seq(qS[1], qS[2], length.out=3) > ## No test: > out <- riskCurve(formula=Y ~ S + factor(X), bsm="Sb", tx="Z", data=data, psGrid=grid) Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 4 external evaluation row(s) (2, 4, 6, 8); returning NA for undefined output components Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 4 external evaluation row(s) (3, 5, 13, 15); returning NA for undefined output components Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 4 external evaluation row(s) (3, 5, 13, 15); returning NA for undefined output components Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 4 external evaluation row(s) (2, 4, 6, 8); returning NA for undefined output components Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 4 external evaluation row(s) (3, 5, 13, 15); returning NA for undefined output components Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 4 external evaluation row(s) (3, 5, 13, 15); returning NA for undefined output components Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 4 external evaluation row(s) (2, 4, 6, 8); returning NA for undefined output components Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 4 external evaluation row(s) (3, 5, 13, 15); returning NA for undefined output components Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 4 external evaluation row(s) (3, 5, 13, 15); returning NA for undefined output components > boot <- bootRiskCurve(formula=Y ~ S + factor(X), bsm="Sb", tx="Z", data=data, + psGrid=grid, iter=2, seed=10) Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 4 external evaluation row(s) (2, 4, 6, 8); returning NA for undefined output components Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 5 external evaluation row(s) (3, 5, 13, 15, 17); returning NA for undefined output components Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 5 external evaluation row(s) (3, 5, 13, 15, 17); returning NA for undefined output components Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 4 external evaluation row(s) (2, 4, 6, 8); returning NA for undefined output components Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 5 external evaluation row(s) (3, 5, 13, 15, 17); returning NA for undefined output components Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 5 external evaluation row(s) (3, 5, 13, 15, 17); returning NA for undefined output components Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 4 external evaluation row(s) (2, 4, 6, 8); returning NA for undefined output components Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 5 external evaluation row(s) (3, 5, 13, 15, 17); returning NA for undefined output components Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 5 external evaluation row(s) (3, 5, 13, 15, 17); returning NA for undefined output components Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 4 external evaluation row(s) (2, 4, 6, 8); returning NA for undefined output components Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 4 external evaluation row(s) (3, 5, 13, 15); returning NA for undefined output components Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 4 external evaluation row(s) (3, 5, 13, 15); returning NA for undefined output components Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 4 external evaluation row(s) (2, 4, 6, 8); returning NA for undefined output components Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 4 external evaluation row(s) (3, 5, 13, 15); returning NA for undefined output components Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 4 external evaluation row(s) (3, 5, 13, 15); returning NA for undefined output components Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 4 external evaluation row(s) (2, 4, 6, 8); returning NA for undefined output components Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 4 external evaluation row(s) (3, 5, 13, 15); returning NA for undefined output components Warning: [np] npcdens: all computed kernel weights are zero for a fit or contrast at 4 external evaluation row(s) (3, 5, 13, 15); returning NA for undefined output components > sout <- summary(out, boot, contrast="te") > plotMCEPcurve(sout) Warning in min(x) : no non-missing arguments to min; returning Inf Warning in max(x) : no non-missing arguments to max; returning -Inf Error in plot.window(...) : need finite 'ylim' values Calls: plotMCEPcurve -> plot -> plot.default -> localWindow -> plot.window Execution halted * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 1 ERROR See ‘/data/localhost/ripley/R/packages/tests-donttest/pssmooth.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 2:58.40, 55.36 + 113.18