Description Usage Arguments Value Side effects See Also
View source: R/test_skeleton.R
If 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.
1 | test_skeleton(fname = NULL, open = TRUE, sep = options("testthis.sep"))
|
fname |
|
open |
|
sep |
|
NULL
(invisibly)
Creates an R script file in the file system.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.