R/test_skeleton.R
test_skeleton.RdIf the file currently open in the RStudio editor is called my_function.R,
this creates the file /tests/testthat/test_my_function.R and fills it
with a basic test skeleton.
test_skeleton(fname = NULL, open = TRUE, sep = options("testthis.sep"))
| fname |
|
|---|---|
| open |
|
| sep |
|
NULL (invisibly)
Creates an R script file in the file system.