Nothing
library(gpuR)
context("Utility Functions")
test_that("detectGPUs() accepts appropriate input", {
has_gpu_skip()
expect_error(detectGPUs(0))
expect_error(detectGPUs(2))
expect_error(detectGPUs(c(2,3)))
})
test_that("gpuInfo() accepts appropriate input", {
has_gpu_skip()
expect_error(gpuInfo(0, 0))
expect_error(gpuInfo(2, 2))
expect_error(gpuInfo(0, 1))
expect_error(gpuInfo(1, 0))
expect_error(gpuInfo(c(2,3), 1))
expect_is(gpuInfo(), "list")
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.