Learn R Programming

usethis (version 1.6.1)

use_testthat: Sets up overall testing infrastructure

Description

Creates tests/testthat/, tests/testthat.R, and adds the testthat package to the Suggests field. Learn more in https://r-pkgs.org/tests.html

Usage

use_testthat()

Arguments

See Also

use_test() to create individual test files

Examples

Run this code
# NOT RUN {
use_testthat()

use_test()

use_test("something-management")
# }

Run the code above in your browser using DataLab