View source: R/use-httptest2.R
use_httptest2 | R Documentation |
This function adds httptest2
to Suggests in the package DESCRIPTION and
loads it in tests/testthat/setup.R
. Call it once when you're setting up
a new package test suite.
use_httptest2(path = ".")
path |
character path to the package |
The function is idempotent: if httptest2
is already added to these files,
no additional changes will be made.
Nothing: called for file system side effects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.