atime_test: Define an atime performance test.

View source: R/test.R

atime_testR 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 atime_versions, will be quoted (not evaluated).

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


atime documentation built on May 29, 2024, 7:12 a.m.

Related to atime_test in atime...