inSweave: Identifying Sweave Run

View source: R/vignette.R

inSweaveR Documentation

Identifying Sweave Run

Description

Tells if the current code is being executed within a Sweave document.

Usage

inSweave()

Value

TRUE or FALSE

Examples


# Not in a Sweave document 
inSweave()

# Within a Sweave document


pkgmaker documentation built on May 3, 2023, 5:08 p.m.

Related to inSweave in pkgmaker...