convert_package_tests(pkg, test_dir = "inst/tests", test_file_regexp = "^runit.+\\.[rR]", test_func_regexp = "^test.+", testthat_files = stdout(), ...)
"convert_package_tests"(pkg, test_dir = "inst/tests", test_file_regexp = "^runit.+\\.[rR]", test_func_regexp = "^test.+", testthat_files = stdout(), ...)
"convert_package_tests"(pkg, test_dir = "inst/tests", test_file_regexp = "^runit.+\\.[rR]", test_func_regexp = "^test.+", testthat_files = stdout(), ...)devtools::package object.stdout() to prevent you overwriting your existing test files.
Use runit_files to refer to the original RUnit test files.testthat
test. The names of the top level list correspond to the names of the input
test files. The names of the sublists correspond to the names of the
RUnit test functions in that file.
Each list element has an environment containing the original RUnit,
stored in attr(, "runit_tests").
convert_test_file, convert_test