atime_test {atime} | R Documentation |
Define an atime performance test.
Description
Use this to define an element of your test.list
in
atime/tests.R, prior to running atime_pkg
.
Usage
atime_test(...)
Arguments
... |
Any arguments for |
Value
List of expressions.
Author(s)
Toby Dylan Hocking
See Also
atime_test_list
for defining common arguments in each
element of the test list,
atime_pkg
for running tests.
Examples
atime::atime_test(
setup=data.vec <- rnorm(N),
expr=binsegRcpp::binseg("mean_norm",data.vec))
## https://github.com/tdhock/binsegRcpp/blob/atime-test-funs/.ci/atime/tests.R
## has a real example, see how to run it in tests/testthat/test-versions.R
[Package atime version 2024.4.23 Index]