Nothing
# Package message-------------------
test_that("Package attach message", {
if (interactive()) {
print_output <- capture.output(.onAttach(libname = "dummy_lib", pkgname = "bvhar"))
if (is_omp()) {
expect_true(grepl("OpenMP threads: [0-9]+", print_output))
} else {
expect_true(grepl("OpenMP not available in this machine", print_output))
}
} else {
skip(".onAttach() prints nothing in non-interactive.")
}
})
#> Test passed 🌈
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.