* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/factorEx.Rcheck’ * using R Under development (unstable) (2022-07-10 r82573) * using platform: x86_64-pc-linux-gnu (64-bit) * using session charset: UTF-8 * checking for file ‘factorEx/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘factorEx’ version ‘1.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 ‘factorEx’ can be installed ... [19s/19s] 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 R 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 ... [34s/35s] 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... OK * checking examples with --run-donttest ... [26s/27s] ERROR Running examples in ‘factorEx-Ex.R’ failed The error most likely occurred in: > ### Name: model_pAMCE > ### Title: Estimating the population AMCE using a model-based approach > ### Aliases: model_pAMCE > > ### ** Examples > > # Small example > target_dist_marginal <- OnoBurden$target_dist_marginal > OnoBurden_data <- OnoBurden$OnoBurden_data > OnoBurden_data_small <- OnoBurden_data[1:300, ] > target_dist_marginal_small <- target_dist_marginal[c("gender", "race")] > > # model-based estimation without regularization > out_model_s <- + model_pAMCE(formula = Y ~ gender + race, + data = OnoBurden_data_small, reg = FALSE, + pair_id = OnoBurden_data_small$pair_id, + cluster_id = OnoBurden_data_small$id, + target_dist = target_dist_marginal_small, + target_type = "marginal") Note: suggest 'boot' greater than 500 for final results. > > ## No test: > # Example > data("OnoBurden") > OnoBurden_data <- OnoBurden$OnoBurden_data > OnoBurden_data_cong <- OnoBurden_data[OnoBurden_data$office == "Congress", ] > target_dist_marginal <- OnoBurden$target_dist_marginal > > # model-based estimation with regularization > out_model <- + model_pAMCE(formula = Y ~ gender + age + family + race + experience + party + pos_security, + data = OnoBurden_data_cong, + pair_id = OnoBurden_data_cong$pair_id, + cluster_id = OnoBurden_data_cong$id, + target_dist = target_dist_marginal, target_type = "marginal") Note: suggest 'boot' greater than 500 for final results. Cross-Validation: 20%..40%..60%..80%..100%.. Bootstrap (100): Error in .check_ncores(cores) : 31 simultaneous processes spawned Calls: model_pAMCE ... AME.collapse.genlasso.crossfit.boot -> pbmclapply -> 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/factorEx.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 2:50.42, 147.44 + 16.99