* using log directory ‘/srv/hornik/tmp/CRAN_pretest/DCal.Rcheck’ * using R Under development (unstable) (2025-08-31 r88749) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (3+b1) Debian flang-new version 19.1.7 (3+b1) * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * checking for file ‘DCal/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘DCal’ version ‘0.1.1’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/4s] NOTE Maintainer: ‘Xinbo Wang ’ New submission Possibly misspelled words in DESCRIPTION: DCal (10:53) Liu (10:472) Xinbo (10:477) Yuhao (10:493) misspecified (10:411) The Description field contains . The package relies on the optimisation software Please refer to arXiv e-prints via their arXiv DOI . * 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 ‘DCal’ can be installed ... [4s/4s] 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 ... [6s/6s] 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 ... [2s/2s] ERROR Running examples in ‘DCal-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: DCal_fast.mean_treat > ### Title: Efficient Doubly-Calibrated Estimation of E[Y(1)] for > ### Observational Data > ### Aliases: DCal_fast.mean_treat > > ### ** Examples > > p = 400 > s_or = 10 > n = 200 > rho = 0.9 > rd_num = 1 > Sigma_X <- matrix(0, p, p) > for (i in 1:p) { + for (j in 1:p) { + Sigma_X[i, j] <- rho ** abs(i - j) + } + } > X <- MASS::mvrnorm(n = n, mu = rep(0, p), Sigma = Sigma_X) > > set.seed(rd_num) > > # Sparse PS > gamma_true <- rep(0, p) > act_loc <- 1:s_or > gamma_true[act_loc] <- runif(length(act_loc), 1, 2) > gamma_true <- gamma_true / norm(gamma_true, type = '2') > > U <- X %*% gamma_true > pi_W <- 1 / (1 + exp(-U)) > W <- rbinom(n, size = 1, p = pi_W) > > # nonlinear dense OR > require(splines) Loading required package: splines > beta_true <- rep(0, p) > act_loc <- 1:p > for (j in act_loc) { + beta_true[j] <- 1 / j + } > beta_true <- beta_true / norm(beta_true, type = '2') > > X2 <- 2 / (1 + exp(-X[, 2])) > X3 <- exp(X[, 3] / 2) > X4 <- X[, 4] / (1 + exp(X[, 3])) > X5 <- X[, 4] * X[, 5] / 10 > > non_lin <- scale(cbind(X2, X3, X4, X5)) %*% c(1, -1 / 2, 1 / 3, -1 / 4) + + bs(X[, 1], df = 100) %*% c(1 / (1:100)) > term_cm <- (abs(non_lin) + 0.05) ** (-1) + X %*% beta_true > potential_outcome_treat <- term_cm - 1 > potential_outcome_control <- term_cm > Y <- potential_outcome_treat * W + potential_outcome_control * (1 - W) + rnorm(n, 0, 1) > tau_treat_g <- mean(potential_outcome_treat) > > > mean_treat_dcal_ls <- DCal_fast.mean_treat( + X, + Y, + W, + Y.family = 'gaussian', + B = 3, + K = 2, + is.scale = FALSE, + alpha = 0.9, + is.parallel = TRUE, + core_num = 2 + ) Error in { : task 1 failed - "Unknown exported object to be built. Please use 'Rmosek::mosek_attachbuilder' to complete the installation of Rmosek." Calls: DCal_fast.mean_treat -> %dopar% -> 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, 1 NOTE