tests/testthat/test-misc.R

context("Testing miscellaneous operations")

# library(jackalope)
# library(testthat)


test_that("jackalope:::using_openmp() works", {
    expect_is(jackalope:::using_openmp(), "logical")
    expect_length(jackalope:::using_openmp(), 1L)

})

Try the jackalope package in your browser

Any scripts or data that you put into this service are public.

jackalope documentation built on May 29, 2024, 3:58 a.m.