- using R version 4.3.0 beta (2023-04-10 r84212)
- using platform: aarch64-apple-darwin20 (64-bit)
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Big Sur 11.6.7
- using session charset: UTF-8
- 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 ... [1s/1s] OK
See the install log for details.
- 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 ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] 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 ... [1s/1s] OK
- checking Rd files ... [0s/0s] 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 ... [0s/0s] OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [1s/1s] 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 -> <Anonymous>
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking running R code from vignettes ... [0s/0s] NONE
‘BIDistances.Rmd’ using ‘UTF-8’... [0s/0s] OK
- checking re-building of vignette outputs ... [6s/7s] OK
- checking PDF version of manual ... [4s/4s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '