- using R version 4.3.3 (2024-02-29)
- using platform: x86_64-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 Ventura 13.3.1
- using session charset: UTF-8
- checking for file ‘clrng/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘clrng’ version ‘0.0.3’
- 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 ‘clrng’ can be installed ... [85s/48s] OK
See the install log for details.
- used C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
- used SDK: ‘MacOSX11.3.sdk’
- checking installed package size ... NOTE
installed size is 12.3Mb
sub-directories of 1Mb or more:
libs 12.0Mb
- 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] WARNING
Error: .onLoad failed in loadNamespace() for 'clrng', details:
call: gpuInfo(device_idx = as.integer(gpu_idx), context_idx = context_idx)
error: No GPUs found in context
Execution halted
A namespace must be able to be loaded with just the base namespace
loaded: otherwise if the namespace gets loaded by a saved object, the
session will be unable to start.
Probably some imports need to be declared in the NAMESPACE file.
- checking whether the namespace can be unloaded cleanly ... [1s/1s] WARNING
Error: .onLoad failed in loadNamespace() for 'clrng', details:
call: gpuInfo(device_idx = as.integer(gpu_idx), context_idx = context_idx)
error: No GPUs found in context
Execution halted
- checking loading without being on the library search path ... [1s/1s] OK
- checking dependencies in R code ... NOTE
Error: .onLoad failed in loadNamespace() for 'clrng', details:
call: gpuInfo(device_idx = as.integer(gpu_idx), context_idx = context_idx)
error: No GPUs found in context
Call sequence:
3: stop(gettextf("%s failed in %s() for '%s', details:\n call: %s\n error: %s",
hookname, "loadNamespace", pkgname, deparse(conditionCall(res))[1L],
conditionMessage(res)), call. = FALSE, domain = NA)
2: runHook(".onLoad", env, package.lib, package)
1: loadNamespace(package, lib.loc)
Execution halted
- checking S3 generic/method consistency ... WARNING
Error: .onLoad failed in loadNamespace() for 'clrng', details:
call: gpuInfo(device_idx = as.integer(gpu_idx), context_idx = context_idx)
error: No GPUs found in context
Call sequence:
3: stop(gettextf("%s failed in %s() for '%s', details:\n call: %s\n error: %s",
hookname, "loadNamespace", pkgname, deparse(conditionCall(res))[1L],
conditionMessage(res)), call. = FALSE, domain = NA)
2: runHook(".onLoad", env, package.lib, package)
1: loadNamespace(package, lib.loc)
Execution halted
See section ‘Generic functions and methods’ in the ‘Writing R
Extensions’ manual.
- checking replacement functions ... WARNING
Error: .onLoad failed in loadNamespace() for 'clrng', details:
call: gpuInfo(device_idx = as.integer(gpu_idx), context_idx = context_idx)
error: No GPUs found in context
Call sequence:
3: stop(gettextf("%s failed in %s() for '%s', details:\n call: %s\n error: %s",
hookname, "loadNamespace", pkgname, deparse(conditionCall(res))[1L],
conditionMessage(res)), call. = FALSE, domain = NA)
2: runHook(".onLoad", env, package.lib, package)
1: loadNamespace(package, lib.loc)
Execution halted
The argument of a replacement function which corresponds to the right
hand side must be named ‘value’.
- checking foreign function calls ... NOTE
Error: .onLoad failed in loadNamespace() for 'clrng', details:
call: gpuInfo(device_idx = as.integer(gpu_idx), context_idx = context_idx)
error: No GPUs found in context
Call sequence:
3: stop(gettextf("%s failed in %s() for '%s', details:\n call: %s\n error: %s",
hookname, "loadNamespace", pkgname, deparse(conditionCall(res))[1L],
conditionMessage(res)), call. = FALSE, domain = NA)
2: runHook(".onLoad", env, package.lib, package)
1: loadNamespace(package, lib.loc)
Execution halted
See chapter ‘System and foreign language interfaces’ in the ‘Writing R
Extensions’ manual.
- checking R code for possible problems ... [2s/3s] NOTE
Error: .onLoad failed in loadNamespace() for 'clrng', details:
call: gpuInfo(device_idx = as.integer(gpu_idx), context_idx = context_idx)
error: No GPUs found in context
Execution halted
- 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 ... NOTE
Error: .onLoad failed in loadNamespace() for 'clrng', details:
call: gpuInfo(device_idx = as.integer(gpu_idx), context_idx = context_idx)
error: No GPUs found in context
Call sequence:
3: stop(gettextf("%s failed in %s() for '%s', details:\n call: %s\n error: %s",
hookname, "loadNamespace", pkgname, deparse(conditionCall(res))[1L],
conditionMessage(res)), call. = FALSE, domain = NA)
2: runHook(".onLoad", env, package.lib, package)
1: loadNamespace(package, lib.loc)
Execution halted
The \usage entries for S3 methods should use the \method markup and not
their full name.
See chapter ‘Writing R documentation files’ in the ‘Writing R
Extensions’ manual.
- 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 line endings in shell scripts ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking compiled code ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [1s/1s] ERROR
Running examples in ‘clrng-Ex.R’ failed
The error most likely occurred in:
> ### Name: createStreamsGpu
> ### Title: createStreamsGpu
> ### Aliases: createStreamsGpu
>
> ### ** Examples
>
> library(clrng)
> if (detectGPUs() >= 1) {
+ setBaseCreator(rep(12345,6))
+ setContext(grep("gpu", listContexts()$device_type)[1])
+ myStreamsGpu = createStreamsGpu(4)
+ t(as.matrix(myStreamsGpu))
+
+ myStreamsGpu2 = createStreamsGpu(6)
+ t(as.matrix(myStreamsGpu2)) }else {
+ message("No GPU context available")
+ }
Error: ViennaCL: FATAL ERROR: CL_INVALID_MEM_OBJECT.
If you think that this is a bug in ViennaCL, please report it at viennacl-support@lists.sourceforge.net and supply at least the following information:
* Operating System
* Which OpenCL implementation (AMD, NVIDIA, etc.)
* ViennaCL version
Many thanks in advance!
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking running R code from vignettes ... [3s/7s] ERROR
Errors in running code in vignettes:
when running code in ‘createStreams.Rmd’
...
+ streamsonCpu <- createStreamsCpu(n = 4) .... [TRUNCATED]
When sourcing ‘createStreams.R’:
Error: ViennaCL: FATAL ERROR: CL_INVALID_MEM_OBJECT.
If you think that this is a bug in ViennaCL, please report it at viennacl-support@lists.sourceforge.net and supply at least the following information:
* Operating System
* Which OpenCL implementation (AMD, NVIDIA, etc.)
* ViennaCL version
Many thanks in advance!
Execution halted
when running code in ‘fisher.sim.Rmd’
...
> if (detectGPUs()) {
+ setContext(grep("gpu", listContexts()$device_type)[1])
+ gpuInfo()$deviceName
+ getOption("clrng.Nglobal")
+ g .... [TRUNCATED]
When sourcing ‘fisher.sim.R’:
Error: The device 1 on context 2 does not support double. Try setting type = 'float' or change device if multiple available.
Execution halted
when running code in ‘random_numbers.Rmd’
...
+ setContext(grep("gpu ..." ... [TRUNCATED]
When sourcing ‘random_numbers.R’:
Error: ViennaCL: FATAL ERROR: CL_INVALID_MEM_OBJECT.
If you think that this is a bug in ViennaCL, please report it at viennacl-support@lists.sourceforge.net and supply at least the following information:
* Operating System
* Which OpenCL implementation (AMD, NVIDIA, etc.)
* ViennaCL version
Many thanks in advance!
Execution halted
‘createStreams.Rmd’ using ‘UTF-8’... failed
‘fisher.sim.Rmd’ using ‘UTF-8’... failed
‘random_numbers.Rmd’ using ‘UTF-8’... failed
- checking re-building of vignette outputs ... [13s/19s] NOTE
Error(s) in re-building vignettes:
--- re-building ‘createStreams.Rmd’ using knitr
Quitting from lines 17-52 [streams] (createStreams.Rmd)
Error: processing vignette 'createStreams.Rmd' failed with diagnostics:
ViennaCL: FATAL ERROR: CL_INVALID_MEM_OBJECT.
If you think that this is a bug in ViennaCL, please report it at viennacl-support@lists.sourceforge.net and supply at least the following information:
* Operating System
* Which OpenCL implementation (AMD, NVIDIA, etc.)
* ViennaCL version
Many thanks in advance!
--- failed re-building ‘createStreams.Rmd’
--- re-building ‘fisher.sim.Rmd’ using knitr
Quitting from lines 29-59 [teaTasting on GPU] (fisher.sim.Rmd)
Error: processing vignette 'fisher.sim.Rmd' failed with diagnostics:
The device 1 on context 2 does not support double. Try setting type = 'float' or change device if multiple available.
--- failed re-building ‘fisher.sim.Rmd’
--- re-building ‘random_numbers.Rmd’ using knitr
Quitting from lines 20-56 [unif] (random_numbers.Rmd)
Error: processing vignette 'random_numbers.Rmd' failed with diagnostics:
ViennaCL: FATAL ERROR: CL_INVALID_MEM_OBJECT.
If you think that this is a bug in ViennaCL, please report it at viennacl-support@lists.sourceforge.net and supply at least the following information:
* Operating System
* Which OpenCL implementation (AMD, NVIDIA, etc.)
* ViennaCL version
Many thanks in advance!
--- failed re-building ‘random_numbers.Rmd’
SUMMARY: processing the following files failed:
‘createStreams.Rmd’ ‘fisher.sim.Rmd’ ‘random_numbers.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [6s/8s] OK
- DONE
Status: 2 ERRORs, 4 WARNINGs, 6 NOTEs
- using check arguments '--no-clean-on-error '