Description Usage Arguments Value References See Also Examples
Quickly produce a testthat style
test ‘.R’ template file from a function
(output file
will include the function) or a character string.
1 |
fun |
A |
path |
Path to directory to generate the function test in. Default is
to use |
file.name |
By default the file is named the same as: |
Generates a ‘test-____.R’ file.
http://r-pkgs.had.co.nz/tests.html
Other new functions: new_data
,
new_r_test
, new_r
,
new_vignette
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.