Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

test-dont

Test case: don't


Description

Test case: don't

See Also

Examples

## Not run: 
  stop("This is an error!", call. = FALSE)

## End(Not run)

# Inline \donttest is silently ommitted
message("Hi!")

# Block \donttest indicated with comments

# This is a comment
1 + 3


# And works even when not at the top level
if (TRUE) {
  
  1 + 2
  
}

answer <- 1

answer # should be 42

# To hide the \dontshow part, for conditional examples

answer <- 43

answer # should be still 42

# But this one runs, and the condition is hidden

answer <- 43

answer

pkgdown

Make Static HTML Documentation for a Package

v1.6.1
MIT + file LICENSE
Authors
Hadley Wickham [aut, cre] (<https://orcid.org/0000-0003-4757-117X>), Jay Hesselberth [aut] (<https://orcid.org/0000-0002-6299-179X>), RStudio [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.