* using log directory ‘/Users/ripley/R/packages/tests-devel/BIDistances.Rcheck’ * using R Under development (unstable) (2023-05-24 r84463) * using platform: aarch64-apple-darwin22.5.0 * R was compiled by Apple clang version 14.0.3 (clang-1403.0.22.14.1) GNU Fortran (GCC) 12.2.0 * running under: macOS Ventura 13.4 * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘BIDistances/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘BIDistances’ version ‘0.0.2’ * 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 ‘BIDistances’ can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking ‘build’ 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 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 ... OK * checking Rd files ... OK * checking Rd metadata ... 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 data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... ERROR Running examples in ‘BIDistances-Ex.R’ failed The error most likely occurred in: > ### Name: EuclideanDistances_GPU > ### Title: EuclideanDistances_GPU > ### Aliases: EuclideanDistances_GPU > ### Keywords: Distance Distancematrix Euclidean OpenCL GPU HPC > > ### ** Examples > > if(isTRUE(require("OpenCL"))){ + if(Sys.info()[1] == "Windows"){ + tryCatch({ + dyn.load("C:/Windows/System32/OpenCL.dll", FALSE, TRUE) + }, error = function(e) { + warning("EuclideanDistances_GPU: OpenCL.dll could not be loaded with error:") + warning(e) + }) + } + library(OpenCL) + AllDevices = unlist(lapply(unlist(OpenCL::oclPlatforms()), OpenCL::oclDevices)) + Device = AllDevices[length(AllDevices)][[1]] + ctx = OpenCL::oclContext(device = Device, precision = "double") + Data = as.matrix(iris[,1:4]) + Weights = rep(1, 4) + oclDM = EuclideanDistances_GPU(Data = Data, Weights = Weights, ctx = ctx) + } Loading required package: OpenCL Warning in OpenCL::oclContext(device = Device, precision = "double") : OpenCL implementation does not support out-of-order execution, disabling it UNSUPPORTED (log once): createKernel: newComputePipelineState failed Error in OpenCL::oclSimpleKernel(ctx, "weighted_euclidean", code) : clCreateKernel failed (oclError -48) Calls: EuclideanDistances_GPU -> withCallingHandlers -> Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/Users/ripley/R/packages/tests-devel/BIDistances.Rcheck/00check.log’ for details. 18.63 real 10.97 user 3.57 sys