pkgdown (version 1.4.1)

in_pkgdown: Determine if code is executed by pkgdown

Description

This is occasionally useful when you need different behaviour by pkgdown and regular documentation.

Usage

in_pkgdown()

Arguments

Examples

Run this code
# NOT RUN {
in_pkgdown()
# }

Run the code above in your browser using DataCamp Workspace