use_test | R Documentation |
Create or edit a test file
use_test(name = NULL, open = rlang::is_interactive())
name |
Either a name without extension, or |
open |
Whether to open the file for interactive editing. |
If a test file does not already exist, creates a test file.
If open
is TRUE
, opens the test file.
usethis::use_test()
, which this function is modified from
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.