* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/DistributionFitR.Rcheck’ * using R Under development (unstable) (2023-03-24 r84037) * using platform: x86_64-pc-linux-gnu (64-bit) * R was compiled by gcc (GCC) 11.3.1 20220421 (Red Hat 11.3.1-2) GNU Fortran (GCC) 11.3.1 20220421 (Red Hat 11.3.1-2) * running under: Fedora 34 (Workstation Edition) * using session charset: UTF-8 * checking for file ‘DistributionFitR/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘DistributionFitR’ 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 ‘DistributionFitR’ 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 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 ... 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 LazyData ... NOTE 'LazyData' is specified without a 'data' directory * checking examples ... [13s/22s] OK * checking examples with --run-donttest ... [13s/16s] ERROR Running examples in ‘DistributionFitR-Ex.R’ failed The error most likely occurred in: > ### Name: globalfit > ### Title: Detect continuity and fit multiple distributions to given data > ### Aliases: globalfit > ### Keywords: distribution > > ### ** Examples > > # Example 1 > data <- rnorm(n = 100, mean = 70, sd = 4) > r <- globalfit(data, cores = if(interactive()) NULL else 2) Comparing the following distribution families: beta, cauchy, chisq, exp, f, gamma, lnorm, logis, norm, t, unif, weibull Parallelizing over 2 cores. Loading required package: doSNOW Loading required package: foreach Loading required package: iterators Loading required package: snow Optimization Progress | | | 0% | |====== | 8% | |============ | 17% | |================== | 25% | |======================= | 33% | |============================= | 42% | |=================================== | 50% | |========================================= | 58% | |=============================================== | 67% | |==================================================== | 75% | |========================================================== | 83% | |================================================================ | 92% | |======================================================================| 100% Sanity Check: Unplausible distribution/fit. Dropping families: beta, exp, unif Sanity Check: Comparatively bad fit. Dropping families: cauchy, chisq > summary(r) Call: globalfit(data = data, cores = if (interactive()) NULL else 2) 100 data points entered. Distributions were fitted via MLE estimation. Assumption: Data was generated from a continuous distribution. Best fits sorted by BIC : family package BIC params 1 norm stats 547.7792 mean = 70.4; sd = 3.57 2 gamma stats 548.1981 rate = 5.48; shape = 386 3 lnorm stats 548.5377 meanlog = 4.25; sdlog = 0.051 4 logis stats 549.0992 location = 70.5; scale = 2.03 5 t stats 549.7858 df = 208; ncp = 70.2 6 f stats 553.2259 df1 = 60.1; df2 = 1200; ncp = 4170 7 weibull stats 557.5022 scale = 72.1; shape = 20.7 > > # continuous or discrete > ## No test: > # Example 2 > # Alternatively, it is possible to input whether the data is > globalfit(data, continuity = TRUE) Comparing the following distribution families: beta, cauchy, chisq, exp, f, gamma, lnorm, logis, norm, t, unif, weibull Parallelizing over 32 cores. Error in .check_ncores(length(names)) : 32 simultaneous processes spawned Calls: globalfit -> makeCluster -> makePSOCKcluster -> .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, 1 NOTE See ‘/data/blackswan/ripley/R/packages/tests-devel/DistributionFitR.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:05.61, 39.78 + 14.05