# To register this vignette engine in another package, add
# \code{VignetteBuilder: Rcpp} as well as \code{Suggests: Rcpp} to \code{DESCRIPTION}
# which uses the registration this package provides via
if (FALSE) tools::vignetteEngine("asis", package = pkgname, pattern = "[.](pdf|html)[.]asis$",
weave = asisWeave, tangle = asisTangle)
# Use a .asis file as in the Rcpp package, for example Rcpp-FAQ.pdf.asis has these lines:
# %\VignetteIndexEntry{Rcpp-FAQ}
# %\VignetteKeywords{Rcpp, FAQ, R, Cpp}
# %\VignettePackage{Rcpp}
# %\VignetteEncoding{UTF-8}
# %\VignetteEngine{Rcpp::asis}
Run the code above in your browser using DataLab