tests/tinytest.R

if (requireNamespace("tinytest", quietly=TRUE)) {
    set.seed(42) 	# Set a seed to make the test deterministic
    tinytest::test_package("RcppAnnoy")
}

Try the RcppAnnoy package in your browser

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

RcppAnnoy documentation built on Jan. 12, 2026, 5:07 p.m.