CRAN Package Check Results for Package cooltools

Last updated on 2025-12-06 19:51:07 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.18 45.45 310.01 355.46 OK
r-devel-linux-x86_64-debian-gcc 2.18 31.91 180.52 212.43 ERROR
r-devel-linux-x86_64-fedora-clang 2.18 196.00 379.40 575.40 OK
r-devel-linux-x86_64-fedora-gcc 2.18 103.00 420.28 523.28 OK
r-devel-windows-x86_64 2.18 48.00 278.00 326.00 OK
r-patched-linux-x86_64 2.18 49.97 299.43 349.40 OK
r-release-linux-x86_64 2.18 45.10 296.62 341.72 OK
r-release-macos-arm64 2.18 OK
r-release-macos-x86_64 2.18 36.00 227.00 263.00 OK
r-release-windows-x86_64 2.18 50.00 273.00 323.00 OK
r-oldrel-macos-arm64 2.18 OK
r-oldrel-macos-x86_64 2.18 49.00 210.00 259.00 OK
r-oldrel-windows-x86_64 2.18 66.00 375.00 441.00 OK

Check Details

Version: 2.18
Check: examples
Result: ERROR Running examples in ‘cooltools-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: kde2 > ### Title: Multi-dimensional adaptive kernel density estimation > ### Aliases: kde2 > > ### ** Examples > > # make a mock sample of n d-dimensional points from > # three different components (1D line, 2D square, d-D normal distr) > d = 3 # number of dimensions of mock point set; try to choose different values 2, 3, 4, ... > n = 1e4 # number of particles per component > set.seed(1) > x = rbind(cbind(array(rep(runif(n,-1,1),2),c(n,2)),array(0,c(n,d-2))), + cbind(array(runif(2*n),c(n,2)),array(0,c(n,d-2))), + array(rnorm(d*n),c(n,d))) > > # grid total projected probability density > npixels = 500 # number of pixels along a grid side > q = midseq(-3,3,npixels) > f1 = outer(dnorm(q),dnorm(q),'*')/3+outer(dunif(q),dunif(q),'*')/3 > q = seq(round(npixels/3),round(npixels*2/3)) > f1[q+npixels*(q-1)] = f1[q+npixels*(q-1)]+(npixels/6)^2/length(q)/3 > > # recover 2D projected pdf from 3D point sample using different methods > f2 = kde2(x, n=npixels, xlim=c(-3,3), ylim=c(-3,3), algorithm='basic', probability=TRUE)$field > f3 = kde2(x, n=npixels, xlim=c(-3,3), ylim=c(-3,3), algorithm='kdefast', probability=TRUE)$field > f4 = kde2(x, n=npixels, xlim=c(-3,3), ylim=c(-3,3), algorithm='kdenn', probability=TRUE)$field Error in kde2(x, n = npixels, xlim = c(-3, 3), ylim = c(-3, 3), algorithm = "kdenn", : Package EBImage is needed to run kde2 in with kdenn or manual algorithm. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc