powered by
testthat_examples() retrieves path to directory of test files, testthat_example() retrieves path to a single test file.
testthat_examples()
testthat_example()
testthat_examples()testthat_example(filename)
testthat_example(filename)
Name of test file
dir(testthat_examples()) testthat_example("success")
Run the code above in your browser using DataLab