* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/npDoseResponse.Rcheck’ * using R Under development (unstable) (2025-11-17 r89032) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) * running under: Fedora Linux 40 (Workstation Edition) * using session charset: UTF-8 * checking for file ‘npDoseResponse/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘npDoseResponse’ version ‘0.1’ * 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 ‘npDoseResponse’ 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 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 ‘npDoseResponse-Ex.R’ failed The error most likely occurred in: > ### 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 ... 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/blackswan/ripley/R/packages/tests-devel/npDoseResponse.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 0:44.08, 26.96 + 15.86