vt_use_validation | R Documentation |
Creates a structure for validation artifacts. Validation items are stored in
inst/validation
Create the validation packet infrastructure. Intended to create validation infrastructure external to an R package.
vt_use_validation(pkg = ".", working_dir, ...)
vt_create_package(
pkg = ".",
...,
fields = list(),
rstudio = rstudioapi::isAvailable(),
roxygen = TRUE,
check_name = TRUE,
open = rlang::is_interactive()
)
vt_create_packet(
path = ".",
target,
...,
rstudio = rstudioapi::isAvailable(),
open = rlang::is_interactive()
)
pkg |
Top level directory of a package |
working_dir |
validation working directory of the project. Defaults to |
... |
Additional argument passed to |
fields |
A named list of fields to add to |
rstudio |
If |
roxygen |
Do you plan to use roxygen2 to document your package? |
check_name |
Whether to check if the name is valid for CRAN and throw an error if not. |
open |
If
|
path |
A path. If it exists, it is used. If it does not exist, it is created, provided that the parent path exists. |
target |
target of validation. Character name of package or scope validation packet is being performed for. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.