* using log directory ‘/home/hornik/tmp/CRAN_special_donttest/npDoseResponse.Rcheck’ * using R Under development (unstable) (2026-01-15 r89304) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-15 (Debian 15.2.0-12) 15.2.0 GNU Fortran (Debian 15.2.0-12) 15.2.0 * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * using option ‘--run-donttest’ * checking for file ‘npDoseResponse/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘npDoseResponse’ version ‘0.2’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [4s/5s] OK * 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 ‘npDoseResponse’ can be installed ... [1s/1s] 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 ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] 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 ... [3s/3s] OK * checking Rd files ... [0s/0s] 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 ... [0s/0s] ERROR Running examples in ‘npDoseResponse-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: DerivEffect > ### Title: The proposed localized derivative estimator. > ### Aliases: DerivEffect > ### Keywords: a curve derivative dose-response estimator localized of the > > ### ** Examples > > ## No test: > library(parallel) > set.seed(123) > n <- 300 > > S2 <- cbind(2 * runif(n) - 1, 2 * runif(n) - 1) > Z2 <- 4 * S2[, 1] + S2[, 2] > E2 <- 0.2 * runif(n) - 0.1 > T2 <- cos(pi * Z2^3) + Z2 / 4 + E2 > Y2 <- T2^2 + T2 + 10 * Z2 + rnorm(n, mean = 0, sd = 1) > X2 <- cbind(T2, S2) > > t_qry2 = seq(min(T2) + 0.01, max(T2) - 0.01, length.out = 100) > chk <- Sys.getenv("_R_CHECK_LIMIT_CORES_", "") > if (nzchar(chk) && chk == "TRUE") { + # use 2 cores in CRAN/Travis/AppVeyor + num_workers <- 2L + } else { + # use all cores in devtools::test() + num_workers <- parallel::detectCores() + } > theta_est2 = DerivEffect(Y2, X2, t_eval = t_qry2, h_bar = NULL, + kernT_bar = "gaussian", h = NULL, b = NULL, + C_h = 7, C_b = 3, print_bw = FALSE, + degree = 2, deriv_ord = 1, kernT = "epanechnikov", + kernS = "epanechnikov", parallel = TRUE, cores = num_workers) Error in .check_ncores(cores) : 32 simultaneous processes spawned Calls: DerivEffect -> mclapply -> .check_ncores Execution halted * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [1s/1s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR