tests/test-truefalse-macros.R

RcppParallel:::test_init()

# this file has no runtime assertions: the TRUE/FALSE macro checks are
# static_assert()s in the C++ source, so a successful compile is the test
Rcpp::sourceCpp(system.file("tests/cpp/truefalse_macros.cpp", package = "RcppParallel"))

Try the RcppParallel package in your browser

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

RcppParallel documentation built on July 27, 2026, 5:08 p.m.