test-output-styles.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/test.R
\name{test-output-styles}
\alias{test-output-styles}
\title{Test case: output styles}
\description{
Test case: output styles
}
\examples{
# This example illustrates some important output types
# The following output should be wrapped over multiple lines
a <- 1:100
a
cat("This some text!\\n")
message("This is a message!")
warning("This is a warning!")
# This is a multi-line block
{
1 + 2
2 + 2
}
\dontrun{
stop("This is an error!", call. = FALSE)
}
\donttest{
# This code won't generally be run by CRAN. But it
# will be run by pkgdown
b <- 10
a + b
}
}
\seealso{
Other tests: \code{\link{test-crayon}},
\code{\link{test-dont}}, \code{\link{test-figures}},
\code{\link{test-links}}, \code{\link{test-lists}},
\code{\link{test-params}}
}
\concept{tests}
\keyword{internal}