use_testex: Add 'testex' tags and configure package to fully use 'testex'...

View source: R/use.R

use_testexR Documentation

Add testex tags and configure package to fully use testex features

Description

Add testex tags and configure package to fully use testex features

Usage

use_testex(path = getwd(), check = TRUE, quiet = FALSE)

Arguments

path

A package source code working directory

check

A logical value indicating whether tests should be executing during ⁠R CMD check⁠.

quiet

Whether output should be suppressed

Value

The result of write.dcf() upon modifying the package DESCRIPTION file.

Note

The testex roxygen2 tags behave similarly to roxygen2 ⁠@examples⁠ tags, with the minor addition of some wrapping code to manage the tests. This means that they will be integrated into your ⁠@examples⁠ and can be intermixed between ⁠@examples⁠ tags


testex documentation built on June 22, 2024, 11:14 a.m.